From 472549a163dc45fe1adf58d425cf100c1908f88c Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 15 Apr 2011 15:58:16 +0200 Subject: [PATCH] safety fix, in case we ever support nested cdef functions --- Cython/Compiler/ParseTreeTransforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.26.2