Skip to content

Commit 6146dcb

Browse files
author
akuchling
committed
Added #define for oldest version of argument calling
git-svn-id: http://svn.python.org/projects/python/trunk@16593 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent cd9e176 commit 6146dcb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Include/methodobject.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ extern DL_IMPORT(PyObject *) Py_FindMethod(PyMethodDef[], PyObject *, char *);
5050
extern DL_IMPORT(PyObject *) PyCFunction_New(PyMethodDef *, PyObject *);
5151

5252
/* Flag passed to newmethodobject */
53+
#define METH_OLDARGS 0x0000
5354
#define METH_VARARGS 0x0001
5455
#define METH_KEYWORDS 0x0002
5556

0 commit comments

Comments
 (0)