Skip to content

Commit d59b662

Browse files
BriFutureberkerpeksag
authored andcommitted
bpo-36690: Fix typo in Tools/demo/rpython.py (GH-12903)
1 parent ab86521 commit d59b662

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
with socket(AF_INET, SOCK_STREAM) as s:

0 commit comments

Comments
 (0)