mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
Revert back PyCFunction_New macro. Keep PyCFunction_NewEx usage in python core modules (#15422)
This commit is contained in:
parent
cdf680f54c
commit
192b10b371
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ struct PyMethodDef {
|
|||
};
|
||||
typedef struct PyMethodDef PyMethodDef;
|
||||
|
||||
PyAPI_FUNC(PyObject *) PyCFunction_New(PyMethodDef *, PyObject *);
|
||||
#define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL)
|
||||
PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
|
||||
PyObject *);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue