bpo-36690: Fix typo in Tools/demo/rpython.py (GH-12903)
![](https://secure.gravatar.com/avatar/cc7737cd64a84f1b5c61a160798e97ee.jpg?s=120&d=mm&r=g)
https://github.com/python/cpython/commit/d59b662e490d3fae662c5f81fa5248f0445... commit: d59b662e490d3fae662c5f81fa5248f0445d2158 branch: master author: 周家未 <752736341@qq.com> committer: Berker Peksag <berker.peksag@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:
participants (1)
-
Berker Peksag