bpo-36690: Fix typo in Tools/demo/rpython.py (GH-12903)

This commit is contained in:
周家未 2019-04-22 21:28:57 +08:00 committed by Berker Peksag
parent ab86521a9d
commit d59b662e49
1 changed files with 1 additions and 1 deletions

View File

@ -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:])
with socket(AF_INET, SOCK_STREAM) as s: