From 59f8fe734900a21df67a851ae764de915038be90 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 5 Dec 2009 17:37:05 +0100 Subject: [PATCH] fix #463: TypeofNode crashes when typeof() is called on expressions --- 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 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) -- 2.26.2