[Python-checkins] r71187 - python/branches/py3k/Lib/idlelib/run.py
kurt.kaiser
python-checkins at python.org
Sat Apr 4 22:20:29 CEST 2009
Author: kurt.kaiser
Date: Sat Apr 4 22:20:29 2009
New Revision: 71187
Log:
Convert print to Py3
Modified:
python/branches/py3k/Lib/idlelib/run.py
Modified: python/branches/py3k/Lib/idlelib/run.py
==============================================================================
--- python/branches/py3k/Lib/idlelib/run.py (original)
+++ python/branches/py3k/Lib/idlelib/run.py Sat Apr 4 22:20:29 2009
@@ -72,7 +72,8 @@
assert(len(sys.argv) > 1)
port = int(sys.argv[-1])
except:
- print>>sys.stderr, "IDLE Subprocess: no IP port passed in sys.argv."
+ print("IDLE Subprocess: no IP port passed in sys.argv.",
+ file=sys.__stderr__)
return
sys.argv[:] = [""]
sockthread = threading.Thread(target=manage_socket,
More information about the Python-checkins
mailing list