summaryrefslogtreecommitdiff
path: root/Objects/object.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-13 15:04:05 +0000
committerGeorg Brandl <georg@python.org>2008-01-13 15:04:05 +0000
commitd1c131a6e30f7777fe65f6b4fa910150f647b5f5 (patch)
treecb5266bfedc3e74ced5c3ff928b7845c033ba4c5 /Objects/object.c
parent9e0f116fac93be51b78551e96d9cd8b4e94b369d (diff)
downloadcpython-git-d1c131a6e30f7777fe65f6b4fa910150f647b5f5.tar.gz
Back out r59931 - test_ctypes fails with it.
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Objects/object.c b/Objects/object.c
index dbe5658fac..788e7320e3 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -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);