diff options
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2006-08-16 23:38:05 (GMT) |
---|---|---|
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2006-08-16 23:38:05 (GMT) |
commit | 4c6b0d5bec587770e0d83b550faae97fe251cc65 (patch) | |
tree | 1b472e824d748456dc4823ca047d67fd807c8d2f /Lib/compiler/symbols.py | |
parent | 7ae354846fff616746eeba6d27ccd5c175591cae (diff) | |
download | cpython-4c6b0d5bec587770e0d83b550faae97fe251cc65.zip cpython-4c6b0d5bec587770e0d83b550faae97fe251cc65.tar.gz cpython-4c6b0d5bec587770e0d83b550faae97fe251cc65.tar.bz2 |
Fix a bug in the ``compiler`` package that caused invalid code to be
generated for generator expressions.
Diffstat (limited to 'Lib/compiler/symbols.py')
-rw-r--r-- | Lib/compiler/symbols.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/compiler/symbols.py b/Lib/compiler/symbols.py index 8eb5fce..8f62980 100644 --- a/Lib/compiler/symbols.py +++ b/Lib/compiler/symbols.py @@ -188,7 +188,7 @@ class GenExprScope(Scope): i = self.__counter self.__counter += 1 self.__super_init("generator expression<%d>"%i, module, klass) - self.add_param('[outmost-iterable]') + self.add_param('.0') def get_names(self): keys = Scope.get_names(self) |