comment
authorStefan Behnel <scoder@users.berlios.de>
Sat, 5 Dec 2009 16:39:14 +0000 (17:39 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Sat, 5 Dec 2009 16:39:14 +0000 (17:39 +0100)
Cython/Compiler/ExprNodes.py

index 04b489b66f73b230bd1864c3362825c30da474ba..bcc993d5564913f1bb525559e5d4ac0811d93906 100644 (file)
@@ -4413,7 +4413,7 @@ class TypeofNode(ExprNode):
     literal = None
     type = py_object_type
     
-    subexprs = ['literal']
+    subexprs = ['literal'] # 'operand' will be ignored after type analysis!
     
     def analyse_types(self, env):
         self.operand.analyse_types(env)