From: Stefan Behnel Date: Sat, 5 Dec 2009 16:37:05 +0000 (+0100) Subject: fix #463: TypeofNode crashes when typeof() is called on expressions X-Git-Tag: 0.12.1~83 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=59f8fe734900a21df67a851ae764de915038be90;p=cython.git fix #463: TypeofNode crashes when typeof() is called on expressions --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index c475d7af..04b489b6 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -4413,7 +4413,7 @@ class TypeofNode(ExprNode): literal = None type = py_object_type - subexprs = ['operand', 'literal'] + subexprs = ['literal'] def analyse_types(self, env): self.operand.analyse_types(env)