Merged revisions 82345 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82345 | mark.dickinson | 2010-06-28 20:54:19 +0100 (Mon, 28 Jun 2010) | 1 line

  unparse.py:  fix mispaced parentheses in chained comparisons
........
This commit is contained in:
Mark Dickinson 2010-06-28 20:09:18 +00:00
parent ae1000533a
commit f5451e546a
2 changed files with 5 additions and 1 deletions

View file

@ -379,7 +379,7 @@ class Unparser:
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):