From: Stefan Behnel Date: Fri, 11 Jul 2008 06:53:11 +0000 (+0200) Subject: fix undecorated C functions after decorator implementation :) X-Git-Tag: 0.9.8.1~123^2~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=505a463fb72cd78103a0828f0156f1b6009650c9;p=cython.git fix undecorated C functions after decorator implementation :) --- diff --git a/Cython/Compiler/ParseTreeTransforms.py b/Cython/Compiler/ParseTreeTransforms.py index 1e5b2ee0..9d03cba4 100644 --- a/Cython/Compiler/ParseTreeTransforms.py +++ b/Cython/Compiler/ParseTreeTransforms.py @@ -219,7 +219,7 @@ class WithTransform(CythonTransform): class DecoratorTransform(CythonTransform): - def visit_FuncDefNode(self, func_node): + def visit_DefNode(self, func_node): if not func_node.decorators: return func_node