Commit d9376736 authored by Stefan Behnel's avatar Stefan Behnel

fix PyTypeTestNode after iter-dict changes

parent 778c2f66
......@@ -4521,7 +4521,7 @@ class PyTypeTestNode(CoercionNode):
def generate_result_code(self, code):
if self.type.typeobj_is_available():
if not dst_type.is_builtin_type:
if not self.type.is_builtin_type:
code.globalstate.use_utility_code(type_test_utility_code)
code.putln(
"if (!(%s)) %s" % (
......
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