Convert print to Py3

This commit is contained in:
Kurt B. Kaiser 2009-04-04 20:20:29 +00:00
parent e67842aedc
commit 8fc98c37f7
1 changed files with 2 additions and 1 deletions

View File

@ -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,