summaryrefslogtreecommitdiffstats
path: root/Doc/library/webbrowser.rst
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na@python.org>2021-09-03 16:21:03 (GMT)
committerGitHub <noreply@github.com>2021-09-03 16:21:03 (GMT)
commitbc1c49fa94b2abf70e6937373bf1e6b5378035c5 (patch)
tree8f107f19a99cf89178e79d9c9378108a0f4ba7f4 /Doc/library/webbrowser.rst
parent85ea2d6165dec0cffa6302eb6dc40406eae1edf5 (diff)
downloadcpython-bc1c49fa94b2abf70e6937373bf1e6b5378035c5.zip
cpython-bc1c49fa94b2abf70e6937373bf1e6b5378035c5.tar.gz
cpython-bc1c49fa94b2abf70e6937373bf1e6b5378035c5.tar.bz2
bpo-42255: Deprecate webbrowser.MacOSX from Python 3.11 (GH-27837)
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'Doc/library/webbrowser.rst')
-rw-r--r--Doc/library/webbrowser.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/library/webbrowser.rst b/Doc/library/webbrowser.rst
index bd09191..27e0b51 100644
--- a/Doc/library/webbrowser.rst
+++ b/Doc/library/webbrowser.rst
@@ -143,9 +143,9 @@ for the controller classes, all defined in this module.
+------------------------+-----------------------------------------+-------+
| ``'windows-default'`` | :class:`WindowsDefault` | \(2) |
+------------------------+-----------------------------------------+-------+
-| ``'macosx'`` | :class:`MacOSX('default')` | \(3) |
+| ``'macosx'`` | :class:`MacOSXOSAScript('default')` | \(3) |
+------------------------+-----------------------------------------+-------+
-| ``'safari'`` | :class:`MacOSX('safari')` | \(3) |
+| ``'safari'`` | :class:`MacOSXOSAScript('safari')` | \(3) |
+------------------------+-----------------------------------------+-------+
| ``'google-chrome'`` | :class:`Chrome('google-chrome')` | |
+------------------------+-----------------------------------------+-------+
@@ -174,6 +174,9 @@ Notes:
.. versionadded:: 3.3
Support for Chrome/Chromium has been added.
+.. deprecated-removed:: 3.11 3.13
+ :class:`MacOSX` is deprecated, use :class:`MacOSXOSAScript` instead.
+
Here are some simple examples::
url = 'https://docs.python.org/'