From 137f39ac908c4b9022c0d75165c60c33bb781a78 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 12 Sep 2016 15:55:21 +0200 Subject: Issue #27810: Exclude METH_FASTCALL from the stable API --- Include/methodobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v0.12