Skip to content

Commit c77f4b8

Browse files
committed
gh-137586: Use frozendict for MacOS._BUNDLE_IDS
1 parent 614078f commit c77f4b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/webbrowser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,14 +655,14 @@ class MacOS(BaseBrowser):
655655
to -a.
656656
"""
657657

658-
_BUNDLE_IDS = {
658+
_BUNDLE_IDS = frozendict({
659659
'google chrome': 'com.google.Chrome',
660660
'firefox': 'org.mozilla.firefox',
661661
'safari': 'com.apple.Safari',
662662
'chromium': 'org.chromium.Chromium',
663663
'opera': 'com.operasoftware.Opera',
664664
'microsoft edge': 'com.microsoft.edgemac',
665-
}
665+
})
666666

667667
def open(self, url, new=0, autoraise=True):
668668
sys.audit("webbrowser.open", url)

0 commit comments

Comments
 (0)