Commit ddd48329 authored by Vitja Makarov's avatar Vitja Makarov

EnvTransform: skip GeneratorBodyDefNode

parent 0991b1eb
......@@ -334,6 +334,10 @@ class EnvTransform(CythonTransform):
self.env_stack.pop()
return node
def visit_GeneratorBodyDefNode(self, node):
self.visitchildren(node)
return node
def visit_ClassDefNode(self, node):
self.env_stack.append((node, node.scope))
self.visitchildren(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