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

should just be "getset", not "getset.__init__".
This commit is contained in:
Guido van Rossum 2001-08-24 18:49:10 +00:00
parent a15dece519
commit 239abf7e23
1 changed files with 1 additions and 1 deletions

View File

@ -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;