diff options
author | Guido van Rossum <guido@python.org> | 2001-08-24 18:49:10 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-24 18:49:10 (GMT) |
commit | 239abf7e23f7546738c1e5be6d6b612c01e91720 (patch) | |
tree | 26f03cf28ae8cf9434bc6be4f971769fbf77c82e /Objects/descrobject.c | |
parent | a15dece51975ddc94b488a64c1326d3e39566c59 (diff) | |
download | cpython-239abf7e23f7546738c1e5be6d6b612c01e91720.zip cpython-239abf7e23f7546738c1e5be6d6b612c01e91720.tar.gz cpython-239abf7e23f7546738c1e5be6d6b612c01e91720.tar.bz2 |
getset_init(): the function name in the PyArg_ParseTuple() format
should just be "getset", not "getset.__init__".
Diffstat (limited to 'Objects/descrobject.c')
-rw-r--r-- | Objects/descrobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/descrobject.c b/Objects/descrobject.c index 44b20e2..4971b4c 100644 --- a/Objects/descrobject.c +++ b/Objects/descrobject.c @@ -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; |