commit | 0187be082562471206fc0e7ee7231ecad591ab19 | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Mon Jun 28 19:54:19 2010 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Mon Jun 28 19:54:19 2010 +0000 |
tree | 5bcf396691d513478df0e1529a928f8d261cbd06 | |
parent | ce3742c693820c0b6821217c266e061507ca45a9 [diff] [blame] |
unparse.py: fix mispaced parentheses in chained comparisons
diff --git a/Demo/parser/unparse.py b/Demo/parser/unparse.py index d48ddd1..98aeb32 100644 --- a/Demo/parser/unparse.py +++ b/Demo/parser/unparse.py
@@ -388,7 +388,7 @@ for o, e in zip(t.ops, t.comparators): self.write(" " + self.cmpops[o.__class__.__name__] + " ") self.dispatch(e) - self.write(")") + self.write(")") boolops = {_ast.And: 'and', _ast.Or: 'or'} def _BoolOp(self, t):