summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3/fixes/fix_print.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-09-13 18:37:09 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-09-13 18:37:09 (GMT)
commit3a2fb1444ac8d8fefe0d83f4f2d680e64d21a2e2 (patch)
tree4e25d1f79339f646d49bd6fd17b6d0e057b7cc74 /Lib/lib2to3/fixes/fix_print.py
parentc575c9064769d37ac9555b7cd2907c25ab030810 (diff)
downloadcpython-3a2fb1444ac8d8fefe0d83f4f2d680e64d21a2e2.zip
cpython-3a2fb1444ac8d8fefe0d83f4f2d680e64d21a2e2.tar.gz
cpython-3a2fb1444ac8d8fefe0d83f4f2d680e64d21a2e2.tar.bz2
Merged revisions 66453 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ................ r66453 | benjamin.peterson | 2008-09-13 12:43:19 -0500 (Sat, 13 Sep 2008) | 24 lines Merged revisions 66191,66418,66438,66445 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r66191 | benjamin.peterson | 2008-09-03 17:00:52 -0500 (Wed, 03 Sep 2008) | 1 line update the Grammar file after recent syntax changes ........ r66418 | benjamin.peterson | 2008-09-12 18:49:48 -0500 (Fri, 12 Sep 2008) | 1 line a trival fix to get a few more print corner cases #2899 ........ r66438 | benjamin.peterson | 2008-09-12 21:32:30 -0500 (Fri, 12 Sep 2008) | 5 lines add Jack Diederich's fixer for metaclass syntax #2366 my contribution to this was adding a few tests and fixing a few bugs I also reviewed it (Jack is a committer) ........ r66445 | benjamin.peterson | 2008-09-13 10:50:00 -0500 (Sat, 13 Sep 2008) | 1 line add a few more tests concerning int literals and weird spacing ........ ................
Diffstat (limited to 'Lib/lib2to3/fixes/fix_print.py')
-rw-r--r--Lib/lib2to3/fixes/fix_print.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib2to3/fixes/fix_print.py b/Lib/lib2to3/fixes/fix_print.py
index 6d01dfd..134a972 100644
--- a/Lib/lib2to3/fixes/fix_print.py
+++ b/Lib/lib2to3/fixes/fix_print.py
@@ -29,7 +29,7 @@ parend_expr = patcomp.compile_pattern(
class FixPrint(fixer_base.ConditionalFix):
PATTERN = """
- simple_stmt< bare='print' any > | print_stmt
+ simple_stmt< any* bare='print' any* > | print_stmt
"""
skip_on = '__future__.print_function'