]> granicus.if.org Git - python/commitdiff
Sigh. The crucial change was still missing from the previous
authorGuido van Rossum <guido@python.org>
Wed, 16 Apr 2003 20:01:36 +0000 (20:01 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 16 Apr 2003 20:01:36 +0000 (20:01 +0000)
checkin. :-(

Objects/typeobject.c

index d45ee89adb0925450488ee97c369a2e62b30ff2c..1bfda3212720992a2fe5db183bc15591cc0bb374 100644 (file)
@@ -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) {