mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Convert print to Py3
This commit is contained in:
parent
e67842aedc
commit
8fc98c37f7
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue