From 9fbcb32946c42549a416fe722b4a00a3238bdc11 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 30 Mar 2011 11:04:03 +0200 Subject: [PATCH] cleanup --- Cython/Compiler/ParseTreeTransforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2