diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index 7bf5a39494e2e873a4fd36496587f3dee6d08b2c..d4b253e165f16737a34a63abb8cc964017f10847 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -3041,7 +3041,6 @@ class DefNode(FuncDefNode): return False if self.entry.is_special: return False - # Should enable for module level as well, that will require more testing... if self.entry.is_anonymous: return True if env.is_module_scope or env.is_c_class_scope: