Commit d6117a61 authored by Guido van Rossum's avatar Guido van Rossum

getset_init(): the function name in the PyArg_ParseTuple() format

should just be "getset", not "getset.__init__".
parent d5d54375
...@@ -929,7 +929,7 @@ getset_init(PyObject *self, PyObject *args, PyObject *kwds) ...@@ -929,7 +929,7 @@ getset_init(PyObject *self, PyObject *args, PyObject *kwds)
PyObject *get = NULL, *set = NULL, *del = NULL; PyObject *get = NULL, *set = NULL, *del = NULL;
getsetobject *gs = (getsetobject *)self; getsetobject *gs = (getsetobject *)self;
if (!PyArg_ParseTuple(args, "|OOO:getset.__init__", &get, &set, &del)) if (!PyArg_ParseTuple(args, "|OOO:getset", &get, &set, &del))
return -1; return -1;
if (get == Py_None) if (get == Py_None)
get = NULL; get = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment