Mailing List Archive

CVS: python/dist/src/Objects typeobject.c,2.131,2.132
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv2043/Objects

Modified Files:
typeobject.c
Log Message:
Use METH_VARARGS rather than METH_OLDARGS implicitly (args are ignored)

Index: typeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/typeobject.c,v
retrieving revision 2.131
retrieving revision 2.132
diff -C2 -d -r2.131 -r2.132
*** typeobject.c 28 Mar 2002 05:33:33 -0000 2.131
--- typeobject.c 31 Mar 2002 16:06:11 -0000 2.132
***************
*** 879,883 ****
}

! static PyMethodDef bozo_ml = {"__getstate__", bozo_func};

static PyObject *bozo_obj = NULL;
--- 879,883 ----
}

! static PyMethodDef bozo_ml = {"__getstate__", bozo_func, METH_VARARGS};

static PyObject *bozo_obj = NULL;