8000 bpo-43424: Deprecate `webbrowser.MacOSXOSAScript._name` attribute by sobolevn · Pull Request #30241 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-43424: Deprecate webbrowser.MacOSXOSAScript._name attribute #30241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 30, 2021
Merged
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
Add default value to name in __init__
  • Loading branch information
sobolevn authored Dec 26, 2021
commit 9b7936cd468bd34031706b50eb310351fd6f738f
2 changes: 1 addition & 1 deletion Lib/webbrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ def open(self, url, new=0, autoraise=True):
return not rc

class MacOSXOSAScript(BaseBrowser):
def __init__(self, name):
def __init__(self, name='default'):
super().__init__(name)

@property
Expand Down
0