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)
PyObject *get = NULL, *set = NULL, *del = NULL;
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;
if (get == Py_None)
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