summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-09-25 21:13:17 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-09-25 21:13:17 (GMT)
commit0e33da095f39ad18791cb4457dca868a74d84e72 (patch)
tree3329921cb0b7bb8912ed8b73cd3fbb88c8898b36 /Lib/lib2to3
parentae1b4d2d1aaedfab8c2121a2652b5fb89b634443 (diff)
downloadcpython-0e33da095f39ad18791cb4457dca868a74d84e72.zip
cpython-0e33da095f39ad18791cb4457dca868a74d84e72.tar.gz
cpython-0e33da095f39ad18791cb4457dca868a74d84e72.tar.bz2
Merged revisions 75061-75062 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r75061 | benjamin.peterson | 2009-09-25 15:34:04 -0500 (Fri, 25 Sep 2009) | 1 line fix print statement ........ r75062 | benjamin.peterson | 2009-09-25 15:56:52 -0500 (Fri, 25 Sep 2009) | 2 lines correct the fixpath.py script to work in Python 3 #6999 ........
Diffstat (limited to 'Lib/lib2to3')
-rw-r--r--Lib/lib2to3/main.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/lib2to3/main.py b/Lib/lib2to3/main.py
index 828b02f..7c26cdb 100644
--- a/Lib/lib2to3/main.py
+++ b/Lib/lib2to3/main.py
@@ -64,7 +64,7 @@ class StdoutRefactoringTool(refactor.MultiprocessRefactoringTool):
print(line)
def warn(msg):
- print >> sys.stderr, "WARNING: %s" % (msg,)
+ print("WARNING: %s" % (msg,), file=sys.stderr)
def main(fixer_pkg, args=None):
@@ -159,8 +159,8 @@ def main(fixer_pkg, args=None):
options.processes)
except refactor.MultiprocessingUnsupported:
assert options.processes > 1
- print >> sys.stderr, "Sorry, -j isn't " \
- "supported on this platform."
+ print("Sorry, -j isn't supported on this platform.",
+ file=sys.stderr)
return 1
rt.summarize()