Stop using METH_OLDARGS implicitly

This commit is contained in:
Neal Norwitz 2007-05-22 07:16:44 +00:00
parent e2e447b6fb
commit a84dcd7546
4 changed files with 13 additions and 13 deletions

View file

@ -4259,7 +4259,7 @@ tp_new_wrapper(PyObject *self, PyObject *args, PyObject *kwds)
}
static struct PyMethodDef tp_new_methoddef[] = {
{"__new__", (PyCFunction)tp_new_wrapper, METH_KEYWORDS,
{"__new__", (PyCFunction)tp_new_wrapper, METH_VARARGS|METH_KEYWORDS,
PyDoc_STR("T.__new__(S, ...) -> "
"a new object with type S, a subtype of T")},
{0}