Skip to content

Commit 5407aaf

Browse files
miss-islingtonBriFuture
authored andcommitted
bpo-36690: Fix typo in Tools/demo/rpython.py (GH-12903)
(cherry picked from commit d59b662) Co-authored-by: 周家未 <[email protected]>
1 parent 1100ae8 commit 5407aaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/demo/rpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def main():
1919
port = PORT
2020
i = host.find(':')
2121
if i >= 0:
22-
port = int(port[i+1:])
22+
port = int(host[i+1:])
2323
host = host[:i]
2424
command = ' '.join(sys.argv[2:])
2525
s = socket(AF_INET, SOCK_STREAM)

0 commit comments

Comments
 (0)