]> granicus.if.org Git - python/commitdiff
Issue #27810: Exclude METH_FASTCALL from the stable API
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 12 Sep 2016 13:55:21 +0000 (15:55 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 12 Sep 2016 13:55:21 +0000 (15:55 +0200)
Include/methodobject.h

index 9dba58f2c5104860aed55cb3e4dcb6846407d13d..79fad8235c52e4cc7746e56a3f147857dee25f72 100644 (file)
@@ -85,9 +85,9 @@ PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
 
 #define METH_COEXIST   0x0040
 
+#ifndef Py_LIMITED_API
 #define METH_FASTCALL  0x0080
 
-#ifndef Py_LIMITED_API
 typedef struct {
     PyObject_HEAD
     PyMethodDef *m_ml; /* Description of the C function to call */