diff options
author | 周家未 <752736341@qq.com> | 2019-04-22 13:28:57 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2019-04-22 13:28:57 (GMT) |
commit | d59b662e490d3fae662c5f81fa5248f0445d2158 (patch) | |
tree | 3dc6753b330466f22829cd13f58ea96a26adafba /Tools/demo | |
parent | ab86521a9d9999731e39bd9056420bb7774fd144 (diff) | |
download | cpython-d59b662e490d3fae662c5f81fa5248f0445d2158.zip cpython-d59b662e490d3fae662c5f81fa5248f0445d2158.tar.gz cpython-d59b662e490d3fae662c5f81fa5248f0445d2158.tar.bz2 |
bpo-36690: Fix typo in Tools/demo/rpython.py (GH-12903)
Diffstat (limited to 'Tools/demo')
-rwxr-xr-x | Tools/demo/rpython.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/demo/rpython.py b/Tools/demo/rpython.py index 8d7e274..11f72cb 100755 --- a/Tools/demo/rpython.py +++ b/Tools/demo/rpython.py @@ -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: |