mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Added #define for oldest version of argument calling
This commit is contained in:
parent
a3eacc472c
commit
767bf49b6b
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ extern DL_IMPORT(PyObject *) Py_FindMethod(PyMethodDef[], PyObject *, char *);
|
|||
extern DL_IMPORT(PyObject *) PyCFunction_New(PyMethodDef *, PyObject *);
|
||||
|
||||
/* Flag passed to newmethodobject */
|
||||
#define METH_OLDARGS 0x0000
|
||||
#define METH_VARARGS 0x0001
|
||||
#define METH_KEYWORDS 0x0002
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue