# HG changeset patch # User Paul Boddie # Date 1384644260 -3600 # Node ID 04f2a6949903c214d7df2a2ccafa9a788850f179 # Parent abb8f39e4c5364b08e4fb13fcecda7b1dc0049b6 Added missing space between "for" and "if" clauses in generator expressions. diff -r abb8f39e4c53 -r 04f2a6949903 compiler/ast.py --- a/compiler/ast.py Fri Nov 15 22:03:19 2013 +0100 +++ b/compiler/ast.py Sun Nov 17 00:24:20 2013 +0100 @@ -1013,7 +1013,7 @@ def __str__(self): return "for %s in %s%s" % ( self.assign, self.iter, - self.ifs and " ".join(map(str, self.ifs)) or "" + self.ifs and " %s" % (" ".join(map(str, self.ifs))) or "" ) def visit(self, visitor, *args):