Commit 505a463f authored by Stefan Behnel's avatar Stefan Behnel

fix undecorated C functions after decorator implementation :)

parent fddbab38
...@@ -219,7 +219,7 @@ class WithTransform(CythonTransform): ...@@ -219,7 +219,7 @@ class WithTransform(CythonTransform):
class DecoratorTransform(CythonTransform): class DecoratorTransform(CythonTransform):
def visit_FuncDefNode(self, func_node): def visit_DefNode(self, func_node):
if not func_node.decorators: if not func_node.decorators:
return func_node return func_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