Skip to content

Commit 3b390bb

Browse files
committed
gh-137586: Fix Sphinx ref.class warnings in whatsnew/3.15.rst
Use :class:`!webbrowser.MacOS` and :class:`!webbrowser.MacOSXOSAScript` with the ! prefix to suppress cross-reference lookup for classes not yet present in upstream.
1 parent f874d67 commit 3b390bb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/whatsnew/3.15.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@ wave
13931393
webbrowser
13941394
----------
13951395

1396-
* On macOS, the new :class:`~webbrowser.MacOS` class opens URLs via
1396+
* On macOS, the new :class:`!webbrowser.MacOS` class opens URLs via
13971397
:program:`/usr/bin/open` instead of constructing and executing AppleScript
13981398
via :program:`osascript`. The default browser is detected from the
13991399
LaunchServices preferences file using :mod:`plistlib`, with
@@ -1795,8 +1795,8 @@ New deprecations
17951795

17961796
* :mod:`webbrowser`:
17971797

1798-
* :class:`~webbrowser.MacOSXOSAScript` is deprecated in favour of
1799-
:class:`~webbrowser.MacOS` and scheduled for removal in Python 3.17.
1798+
* :class:`!webbrowser.MacOSXOSAScript` is deprecated in favour of
1799+
:class:`!webbrowser.MacOS` and scheduled for removal in Python 3.17.
18001800
(Contributed by Jeff Lyon in :gh:`137586`.)
18011801

18021802
* ``__version__``

0 commit comments

Comments
 (0)