mirror of
https://github.com/python/cpython.git
synced 2025-11-10 10:32:04 +00:00
bpo-36690: Fix typo in Tools/demo/rpython.py (GH-12903)
This commit is contained in:
parent
ab86521a9d
commit
d59b662e49
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ def main():
|
||||||
port = PORT
|
port = PORT
|
||||||
i = host.find(':')
|
i = host.find(':')
|
||||||
if i >= 0:
|
if i >= 0:
|
||||||
port = int(port[i+1:])
|
port = int(host[i+1:])
|
||||||
host = host[:i]
|
host = host[:i]
|
||||||
command = ' '.join(sys.argv[2:])
|
command = ' '.join(sys.argv[2:])
|
||||||
with socket(AF_INET, SOCK_STREAM) as s:
|
with socket(AF_INET, SOCK_STREAM) as s:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue