Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 137f39a

Browse files
committed
Issue #27810: Exclude METH_FASTCALL from the stable API
1 parent dde4f63 commit 137f39a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Include/methodobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
8585

8686
#define METH_COEXIST 0x0040
8787

88+
#ifndef Py_LIMITED_API
8889
#define METH_FASTCALL 0x0080
8990

90-
#ifndef Py_LIMITED_API
9191
typedef struct {
9292
PyObject_HEAD
9393
PyMethodDef *m_ml; /* Description of the C function to call */

0 commit comments

Comments
 (0)