mirror of
https://github.com/python/cpython.git
synced 2025-09-17 14:16:02 +00:00
Back out r59931 - test_ctypes fails with it.
This commit is contained in:
parent
9e0f116fac
commit
d1c131a6e3
4 changed files with 6 additions and 219 deletions
|
@ -1287,7 +1287,6 @@ PyObject_GenericGetAttr(PyObject *obj, PyObject *name)
|
|||
goto done;
|
||||
}
|
||||
|
||||
#if 0 /* XXX this is not quite _PyType_Lookup anymore */
|
||||
/* Inline _PyType_Lookup */
|
||||
{
|
||||
Py_ssize_t i, n;
|
||||
|
@ -1312,9 +1311,6 @@ PyObject_GenericGetAttr(PyObject *obj, PyObject *name)
|
|||
break;
|
||||
}
|
||||
}
|
||||
#else
|
||||
descr = _PyType_Lookup(tp, name);
|
||||
#endif
|
||||
|
||||
Py_XINCREF(descr);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue