python2.7-compiler-package-micropython

Changeset

25:a67772346272
2013-06-30 Paul Boddie raw files shortlog changelog graph Fixed list comprehension "if" statement spacing.
compiler/ast.py (file)
     1.1 --- a/compiler/ast.py	Sun Jun 30 19:53:18 2013 +0200
     1.2 +++ b/compiler/ast.py	Sun Jun 30 22:42:16 2013 +0200
     1.3 @@ -1395,7 +1395,7 @@
     1.4          return "ListCompIf(%r)" % (self.test,)
     1.5  
     1.6      def __str__(self):
     1.7 -        return "if %s" % self.test
     1.8 +        return " if %s" % self.test
     1.9  
    1.10      def visit(self, visitor, *args):
    1.11          return visitor.visitListCompIf(self, *args)