Skip to content

Commit 72bd9a4

Browse files
committed
correct keyword-only syntax
1 parent bf271b7 commit 72bd9a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/webbrowser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ class GenericBrowser(BaseBrowser):
168168
"""Class for all browsers started with a command
169169
and without remote functionality."""
170170

171-
def __init__(self, name, /, _supports_file=True):
171+
def __init__(self, name, *, _supports_file=True):
172172
if isinstance(name, str):
173173
self.name = name
174174
self.args = ["%s"]

0 commit comments

Comments
 (0)