mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
bpo-44059: Register the SerenityOS Browser in the webbrowser module (GH-25947)
Automerge-Triggered-By: GH:gpshead
This commit is contained in:
parent
55b78ce3c4
commit
329a47f052
3 changed files with 6 additions and 0 deletions
|
@ -532,6 +532,10 @@ def register_standard_browsers():
|
||||||
# OS X can use below Unix support (but we prefer using the OS X
|
# OS X can use below Unix support (but we prefer using the OS X
|
||||||
# specific stuff)
|
# specific stuff)
|
||||||
|
|
||||||
|
if sys.platform == "serenityos":
|
||||||
|
# SerenityOS webbrowser, simply called "Browser".
|
||||||
|
register("Browser", None, BackgroundBrowser("Browser"))
|
||||||
|
|
||||||
if sys.platform[:3] == "win":
|
if sys.platform[:3] == "win":
|
||||||
# First try to use the default Windows browser
|
# First try to use the default Windows browser
|
||||||
register("windows-default", WindowsDefault)
|
register("windows-default", WindowsDefault)
|
||||||
|
|
|
@ -641,6 +641,7 @@ Andrea Griffini
|
||||||
Duncan Grisby
|
Duncan Grisby
|
||||||
Olivier Grisel
|
Olivier Grisel
|
||||||
Fabian Groffen
|
Fabian Groffen
|
||||||
|
Linus Groh
|
||||||
Eric Groo
|
Eric Groo
|
||||||
Daniel Andrade Groppe
|
Daniel Andrade Groppe
|
||||||
Dag Gruneau
|
Dag Gruneau
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Register the SerenityOS Browser in the :mod:`webbrowser` module.
|
Loading…
Add table
Add a link
Reference in a new issue