Commit 472549a1 authored by Stefan Behnel's avatar Stefan Behnel

safety fix, in case we ever support nested cdef functions

parent c66708bd
...@@ -1461,7 +1461,7 @@ class YieldNodeCollector(TreeVisitor): ...@@ -1461,7 +1461,7 @@ class YieldNodeCollector(TreeVisitor):
def visit_ClassDefNode(self, node): def visit_ClassDefNode(self, node):
pass pass
def visit_DefNode(self, node): def visit_FuncDefNode(self, node):
pass pass
def visit_LambdaNode(self, node): def visit_LambdaNode(self, node):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment