Convert print to Py3
This commit is contained in:
parent
e67842aedc
commit
8fc98c37f7
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue