cleanup
authorStefan Behnel <scoder@users.berlios.de>
Wed, 30 Mar 2011 09:04:03 +0000 (11:04 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Wed, 30 Mar 2011 09:04:03 +0000 (11:04 +0200)
Cython/Compiler/ParseTreeTransforms.py

index c11ffd5d29815e42950c24d20b4306a3309f53b4..0dbca6542a4be6e5c2cc02b1fa5e6602fb7d4e60 100644 (file)
@@ -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