From: Stefan Behnel Date: Wed, 30 Mar 2011 09:02:57 +0000 (+0200) Subject: renamed method X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=759f12ead5df5af1c3d14ad04ba64719f8d6d711;p=cython.git renamed method --- diff --git a/Cython/Compiler/ParseTreeTransforms.py b/Cython/Compiler/ParseTreeTransforms.py index e9455aa9..c11ffd5d 100644 --- a/Cython/Compiler/ParseTreeTransforms.py +++ b/Cython/Compiler/ParseTreeTransforms.py @@ -1564,7 +1564,7 @@ class CreateClosureClasses(CythonTransform): self.generator_class = entry.type return self.generator_class - def get_scope_use(self, node): + def find_entries_used_in_closures(self, node): from_closure = [] in_closure = [] for name, entry in node.local_scope.entries.items(): @@ -1584,7 +1584,7 @@ class CreateClosureClasses(CythonTransform): if not entry.from_closure: entry.in_closure = True - from_closure, in_closure = self.get_scope_use(node) + from_closure, in_closure = self.find_entries_used_in_closures(node) in_closure.sort() # Now from the begining