Back out r59931 - test_ctypes fails with it.

This commit is contained in:
Georg Brandl 2008-01-13 15:04:05 +00:00
parent 9e0f116fac
commit d1c131a6e3
4 changed files with 6 additions and 219 deletions

View file

@ -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);