# HG changeset patch # User paulb@localhost.localdomain # Date 1182381908 -7200 # Node ID 9b23f16cabb2217fcf7a39c002b79a63fb4de2e7 # Parent 8662157587f20957eefc16c9eb1561956a5d1004 Made list comprehensions internal subprograms. diff -r 8662157587f2 -r 9b23f16cabb2 simplify/ast.py --- a/simplify/ast.py Thu Jun 21 01:24:40 2007 +0200 +++ b/simplify/ast.py Thu Jun 21 01:25:08 2007 +0200 @@ -1169,7 +1169,7 @@ # Make a subprogram for the list comprehension and record it outside the # main tree. - subprogram = Subprogram(listcomp, name=None, module=self.module, internal=0, returns_value=1, star=None, dstar=None, original_def=listcomp) + subprogram = Subprogram(listcomp, name=None, module=self.module, internal=1, returns_value=1, star=None, dstar=None, original_def=listcomp) self.current_subprograms.append(subprogram) # Make nice annotations for the viewer.