From 8fc98c37f765b199ae487833180880cf80ab14d8 Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Sat, 4 Apr 2009 20:20:29 +0000 Subject: [PATCH] Convert print to Py3 --- Lib/idlelib/run.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py index 6659ee725d1..fd2cc09042a 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,