summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-04-16 20:01:36 (GMT)
committerGuido van Rossum <guido@python.org>2003-04-16 20:01:36 (GMT)
commit6cc5bb685db13616f3f6474b9556d9bfc5195b20 (patch)
tree3dc536007b61c02c8b468ff98d81b980e2fb0490 /Objects
parentbfe175c1901514742a4256d8792e143b4fe224b7 (diff)
downloadcpython-6cc5bb685db13616f3f6474b9556d9bfc5195b20.zip
cpython-6cc5bb685db13616f3f6474b9556d9bfc5195b20.tar.gz
cpython-6cc5bb685db13616f3f6474b9556d9bfc5195b20.tar.bz2
Sigh. The crucial change was still missing from the previous
checkin. :-(
Diffstat (limited to 'Objects')
-rw-r--r--Objects/typeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index d45ee89..1bfda32 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -5399,7 +5399,7 @@ super_getattro(PyObject *self, PyObject *name)
else
continue;
res = PyDict_GetItem(dict, name);
- if (res != NULL && !PyDescr_IsData(res)) {
+ if (res != NULL) {
Py_INCREF(res);
f = res->ob_type->tp_descr_get;
if (f != NULL) {