summaryrefslogtreecommitdiffstats
path: root/Include/methodobject.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-09-12 13:55:21 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-09-12 13:55:21 (GMT)
commit137f39ac908c4b9022c0d75165c60c33bb781a78 (patch)
treef2d9f7908f19797e215999c2ed53d06c23f1b0ec /Include/methodobject.h
parentdde4f63a54a75e75cdd08a40ea27e08353317e56 (diff)
downloadcpython-137f39ac908c4b9022c0d75165c60c33bb781a78.zip
cpython-137f39ac908c4b9022c0d75165c60c33bb781a78.tar.gz
cpython-137f39ac908c4b9022c0d75165c60c33bb781a78.tar.bz2
Issue #27810: Exclude METH_FASTCALL from the stable API
Diffstat (limited to 'Include/methodobject.h')
-rw-r--r--Include/methodobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/methodobject.h b/Include/methodobject.h
index 9dba58f..79fad82 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 */