summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-09-12 15:55:21 +0200
committerVictor Stinner <victor.stinner@gmail.com>2016-09-12 15:55:21 +0200
commitbfe9bfdefae31d0e71c011dc5d7410660d4ab378 (patch)
treeaab65a347548b77eb3adb350845a6a4be64dcbd6 /Include
parent8ba7247c3adbba48b7aa71460d992a3ea795e4c4 (diff)
downloadcpython-bfe9bfdefae31d0e71c011dc5d7410660d4ab378.tar.gz
Issue #27810: Exclude METH_FASTCALL from the stable API
Diffstat (limited to 'Include')
-rw-r--r--Include/methodobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/methodobject.h b/Include/methodobject.h
index 9dba58f2c5..79fad8235c 100644
--- a/Include/methodobject.h
+++ b/Include/methodobject.h
@@ -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 */