summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2009-04-04 20:20:29 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2009-04-04 20:20:29 (GMT)
commit8fc98c37f765b199ae487833180880cf80ab14d8 (patch)
tree2f4bb3c4698077942440563cedf3335e13ba9ab0 /Lib/idlelib
parente67842aedc701ae53ffee783b38fcbf56c022296 (diff)
downloadcpython-8fc98c37f765b199ae487833180880cf80ab14d8.zip
cpython-8fc98c37f765b199ae487833180880cf80ab14d8.tar.gz
cpython-8fc98c37f765b199ae487833180880cf80ab14d8.tar.bz2
Convert print to Py3
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/run.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py
index 6659ee7..fd2cc09 100644
--- a/Lib/idlelib/run.py
+++ b/Lib/idlelib/run.py
@@ -72,7 +72,8 @@ def main(del_exitfunc=False):
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,