mirror of https://github.com/python/cpython.git
can't handle classic classes here
This commit is contained in:
parent
3f3d36bd03
commit
0a32f9c448
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue