From: Stefan Behnel Date: Wed, 30 Mar 2011 09:04:03 +0000 (+0200) Subject: cleanup X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9fbcb32946c42549a416fe722b4a00a3238bdc11;p=cython.git cleanup --- diff --git a/Cython/Compiler/ParseTreeTransforms.py b/Cython/Compiler/ParseTreeTransforms.py index c11ffd5d..0dbca654 100644 --- a/Cython/Compiler/ParseTreeTransforms.py +++ b/Cython/Compiler/ParseTreeTransforms.py @@ -1570,7 +1570,7 @@ class CreateClosureClasses(CythonTransform): for name, entry in node.local_scope.entries.items(): if entry.from_closure: from_closure.append((name, entry)) - elif entry.in_closure and not entry.from_closure: + elif entry.in_closure: in_closure.append((name, entry)) return from_closure, in_closure