diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-09-12 13:55:21 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-09-12 13:55:21 (GMT) |
commit | 137f39ac908c4b9022c0d75165c60c33bb781a78 (patch) | |
tree | f2d9f7908f19797e215999c2ed53d06c23f1b0ec /Include/methodobject.h | |
parent | dde4f63a54a75e75cdd08a40ea27e08353317e56 (diff) | |
download | cpython-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.h | 2 |
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 */ |