fix print statement
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 @@
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 @@
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()