Commit 9b268a7f authored by Kevin Modzelewski's avatar Kevin Modzelewski

Missed one of these

parent 8c8e595a
...@@ -1560,7 +1560,7 @@ Box* getattrInternalEx(Box* obj, BoxedString* attr, GetattrRewriteArgs* rewrite_ ...@@ -1560,7 +1560,7 @@ Box* getattrInternalEx(Box* obj, BoxedString* attr, GetattrRewriteArgs* rewrite_
if (S == CAPI) { if (S == CAPI) {
try { try {
assert(!PyType_Check(obj)); // There would be a tp_getattro assert(!PyType_Check(obj) || cls_only); // There would be a tp_getattro
return getattrInternalGeneric<false>(obj, attr, rewrite_args, cls_only, for_call, bind_obj_out, return getattrInternalGeneric<false>(obj, attr, rewrite_args, cls_only, for_call, bind_obj_out,
r_bind_obj_out); r_bind_obj_out);
} catch (ExcInfo e) { } catch (ExcInfo e) {
......
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