From: Kurt B. Kaiser Date: Sat, 4 Apr 2009 20:20:29 +0000 (+0000) Subject: Convert print to Py3 X-Git-Tag: v3.1a2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8fc98c37f765b199ae487833180880cf80ab14d8;p=python Convert print to Py3 --- diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py index 6659ee725d..fd2cc09042 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,