2013-11-17 | Paul Boddie | raw files shortlog changelog graph | Added missing space between "for" and "if" clauses in generator expressions. | |
compiler/ast.py (file) |
1.1 --- a/compiler/ast.py Fri Nov 15 22:03:19 2013 +0100 1.2 +++ b/compiler/ast.py Sun Nov 17 00:24:20 2013 +0100 1.3 @@ -1013,7 +1013,7 @@ 1.4 def __str__(self): 1.5 return "for %s in %s%s" % ( 1.6 self.assign, self.iter, 1.7 - self.ifs and " ".join(map(str, self.ifs)) or "" 1.8 + self.ifs and " %s" % (" ".join(map(str, self.ifs))) or "" 1.9 ) 1.10 1.11 def visit(self, visitor, *args):