From: Stefan Behnel Date: Tue, 25 Nov 2008 20:18:13 +0000 (+0100) Subject: fix PyTypeTestNode after iter-dict changes X-Git-Tag: 0.11-beta~217 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d93767364b2397abbc029685ba14e0dbe831eec2;p=cython.git fix PyTypeTestNode after iter-dict changes --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index 9b4eb84c..a6e381e8 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -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" % (