Kaydet (Commit) 0a32f9c4 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

can't handle classic classes here

üst 3f3d36bd
...@@ -1216,6 +1216,7 @@ lookup_method(PyObject *self, char *attrstr, PyObject **attrobj) ...@@ -1216,6 +1216,7 @@ lookup_method(PyObject *self, char *attrstr, PyObject **attrobj)
PyObject * PyObject *
_PyObject_LookupSpecial(PyObject *self, char *attrstr, PyObject **attrobj) _PyObject_LookupSpecial(PyObject *self, char *attrstr, PyObject **attrobj)
{ {
assert(!PyInstance_Check(self));
return lookup_maybe(self, attrstr, attrobj); return lookup_maybe(self, attrstr, attrobj);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment