can't handle classic classes here

This commit is contained in:
Benjamin Peterson 2009-05-09 17:13:10 +00:00
parent 3f3d36bd03
commit 0a32f9c448
1 changed files with 1 additions and 0 deletions

View File

@ -1216,6 +1216,7 @@ lookup_method(PyObject *self, char *attrstr, PyObject **attrobj)
PyObject *
_PyObject_LookupSpecial(PyObject *self, char *attrstr, PyObject **attrobj)
{
assert(!PyInstance_Check(self));
return lookup_maybe(self, attrstr, attrobj);
}