safety fix, in case we ever support nested cdef functions
authorStefan Behnel <scoder@users.berlios.de>
Fri, 15 Apr 2011 13:58:16 +0000 (15:58 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 15 Apr 2011 13:58:16 +0000 (15:58 +0200)
Cython/Compiler/ParseTreeTransforms.py

index 1f3bbf30ffc390f06ad6ce122e49512618e8a98c..327f8e331971cf918fe528024a45ff42ff0488df 100644 (file)
@@ -1461,7 +1461,7 @@ class YieldNodeCollector(TreeVisitor):
     def visit_ClassDefNode(self, node):
         pass
 
-    def visit_DefNode(self, node):
+    def visit_FuncDefNode(self, node):
         pass
 
     def visit_LambdaNode(self, node):