mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Get rid of METH_OLDARGS.
This commit is contained in:
parent
55ac8f0f26
commit
f2fc934a77
3 changed files with 5 additions and 24 deletions
|
@ -50,7 +50,7 @@ PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
|
|||
PyObject *);
|
||||
|
||||
/* Flag passed to newmethodobject */
|
||||
#define METH_OLDARGS 0x0000
|
||||
/* #define METH_OLDARGS 0x0000 -- unsupported now */
|
||||
#define METH_VARARGS 0x0001
|
||||
#define METH_KEYWORDS 0x0002
|
||||
/* METH_NOARGS and METH_O must not be combined with the flags above. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue