commit | a84dcd7546c929187a9ae2b620a0d0cc01efc9bb | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Tue May 22 07:16:44 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Tue May 22 07:16:44 2007 +0000 |
tree | 53060eb67767e6332a8f2a54d85890a466d01dd2 | |
parent | e2e447b6fb272d3537904f61549acdadeef26ad0 [diff] [blame] |
Stop using METH_OLDARGS implicitly
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 7735851..1f0204d 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c
@@ -4259,7 +4259,7 @@ } 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}