From: Stefan Behnel Date: Fri, 15 Apr 2011 13:58:16 +0000 (+0200) Subject: safety fix, in case we ever support nested cdef functions X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=472549a163dc45fe1adf58d425cf100c1908f88c;p=cython.git safety fix, in case we ever support nested cdef functions --- diff --git a/Cython/Compiler/ParseTreeTransforms.py b/Cython/Compiler/ParseTreeTransforms.py index 1f3bbf30..327f8e33 100644 --- a/Cython/Compiler/ParseTreeTransforms.py +++ b/Cython/Compiler/ParseTreeTransforms.py @@ -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):