From d93767364b2397abbc029685ba14e0dbe831eec2 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 25 Nov 2008 21:18:13 +0100 Subject: [PATCH] fix PyTypeTestNode after iter-dict changes --- Cython/Compiler/ExprNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" % ( -- 2.26.2