diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-09-12 15:55:21 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-09-12 15:55:21 +0200 |
commit | bfe9bfdefae31d0e71c011dc5d7410660d4ab378 (patch) | |
tree | aab65a347548b77eb3adb350845a6a4be64dcbd6 /Include | |
parent | 8ba7247c3adbba48b7aa71460d992a3ea795e4c4 (diff) | |
download | cpython-bfe9bfdefae31d0e71c011dc5d7410660d4ab378.tar.gz |
Issue #27810: Exclude METH_FASTCALL from the stable API
Diffstat (limited to 'Include')
-rw-r--r-- | Include/methodobject.h | 2 |
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 */ |