summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,