mirror of https://github.com/python/cpython
Sigh. The crucial change was still missing from the previous
checkin. :-(
This commit is contained in:
parent
bfe175c190
commit
6cc5bb685d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue