Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
correct keyword-only syntax
  • Loading branch information
minrk committed Feb 25, 2025
commit 72bd9a4deed17586fcf8a8672fea252f69a7d2c1
2 changes: 1 addition & 1 deletion Lib/webbrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class GenericBrowser(BaseBrowser):
"""Class for all browsers started with a command
and without remote functionality."""

def __init__(self, name, /, _supports_file=True):
def __init__(self, name, *, _supports_file=True):
if isinstance(name, str):
self.name = name
self.args = ["%s"]
Expand Down