From: Victor Stinner Date: Mon, 12 Sep 2016 13:55:21 +0000 (+0200) Subject: Issue #27810: Exclude METH_FASTCALL from the stable API X-Git-Tag: v3.6.0b1~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=137f39ac908c4b9022c0d75165c60c33bb781a78;p=python Issue #27810: Exclude METH_FASTCALL from the stable API --- 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 */