Skip to content

Commit e2391b0

Browse files
committed
Make all _connect arguments keyword-only
This gives us greater flexibility to reorder things or add things in the future without breaking backwards compatibility.
1 parent dd7c9b1 commit e2391b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/pdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3263,7 +3263,7 @@ def complete(self, text, state):
32633263
return None
32643264

32653265

3266-
def _connect(host, port, frame, commands, version, signal_raising_thread):
3266+
def _connect(*, host, port, frame, commands, version, signal_raising_thread):
32673267
with closing(socket.create_connection((host, port))) as conn:
32683268
sockfile = conn.makefile("rwb")
32693269

0 commit comments

Comments
 (0)