[Python-checkins] bpo-36690: Fix typo in Tools/demo/rpython.py (GH-12903)
Berker Peksag
webhook-mailer at python.org
Mon Apr 22 09:29:20 EDT 2019
https://github.com/python/cpython/commit/d59b662e490d3fae662c5f81fa5248f0445d2158
commit: d59b662e490d3fae662c5f81fa5248f0445d2158
branch: master
author: 周家未 <752736341 at qq.com>
committer: Berker Peksag <berker.peksag at gmail.com>
date: 2019-04-22T16:28:57+03:00
summary:
bpo-36690: Fix typo in Tools/demo/rpython.py (GH-12903)
files:
M Tools/demo/rpython.py
diff --git a/Tools/demo/rpython.py b/Tools/demo/rpython.py
index 8d7e2747636c..11f72cb3dd26 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:
More information about the Python-checkins
mailing list