mirror of
https://github.com/python/cpython.git
synced 2026-04-22 03:41:08 +00:00
bpo-36690: Fix typo in Tools/demo/rpython.py (GH-12903)
(cherry picked from commit d59b662e49)
Co-authored-by: 周家未 <752736341@qq.com>
This commit is contained in:
parent
1100ae8f3f
commit
5407aaf18b
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ def main():
|
|||
port = PORT
|
||||
i = host.find(':')
|
||||
if i >= 0:
|
||||
port = int(port[i+1:])
|
||||
port = int(host[i+1:])
|
||||
host = host[:i]
|
||||
command = ' '.join(sys.argv[2:])
|
||||
s = socket(AF_INET, SOCK_STREAM)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue