Get rid of METH_OLDARGS.

This commit is contained in:
Georg Brandl 2007-09-01 13:59:50 +00:00
parent 55ac8f0f26
commit f2fc934a77
3 changed files with 5 additions and 24 deletions

View file

@ -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. */