[pypy-svn] r66386 - pypy/branch/parser-compiler/pypy/interpreter/astcompiler
benjamin at codespeak.net
benjamin at codespeak.net
Sat Jul 18 21:20:51 CEST 2009
Author: benjamin
Date: Sat Jul 18 21:20:51 2009
New Revision: 66386
Modified:
pypy/branch/parser-compiler/pypy/interpreter/astcompiler/symtable.py
Log:
annotator hint
Modified: pypy/branch/parser-compiler/pypy/interpreter/astcompiler/symtable.py
==============================================================================
--- pypy/branch/parser-compiler/pypy/interpreter/astcompiler/symtable.py (original)
+++ pypy/branch/parser-compiler/pypy/interpreter/astcompiler/symtable.py Sat Jul 18 21:20:51 2009
@@ -403,6 +403,7 @@
def visit_GeneratorExp(self, genexp):
outer = genexp.generators[0]
+ assert isinstance(outer, ast.comprehension)
outer.iter.walkabout(self)
new_scope = FunctionScope("genexp", genexp.lineno, genexp.col_offset)
self.push_scope(new_scope, genexp)
More information about the Pypy-commit
mailing list