From d59b662e490d3fae662c5f81fa5248f0445d2158 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E5=AE=B6=E6=9C=AA?= <752736341@qq.com> Date: Mon, 22 Apr 2019 21:28:57 +0800 Subject: [PATCH] bpo-36690: Fix typo in Tools/demo/rpython.py (GH-12903) --- Tools/demo/rpython.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/demo/rpython.py b/Tools/demo/rpython.py index 8d7e2747636..11f72cb3dd2 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: