]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-101100: Fix Sphinx warnings from removed `~!` references (GH-113629) (...
authorHugo van Kemenade <hugovk@users.noreply.github.com>
Tue, 2 Jan 2024 12:59:42 +0000 (14:59 +0200)
committerGitHub <noreply@github.com>
Tue, 2 Jan 2024 12:59:42 +0000 (12:59 +0000)
(cherry picked from commit 7595380347610598a3f5529214a449660892537b)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Doc/whatsnew/3.11.rst
Doc/whatsnew/3.7.rst

index b0695d31fb36ab79efee3ac5e2866a3a23cfb186..c2e590d88c25b1e571816b09faee5e2d45ef3ed7 100644 (file)
@@ -1860,7 +1860,7 @@ Standard Library
 
   (Contributed by Erlend E. Aasland in :issue:`5846`.)
 
-* :meth:`~!unittest.TestProgram.usageExit` is marked deprecated, to be removed
+* :meth:`!unittest.TestProgram.usageExit` is marked deprecated, to be removed
   in 3.13.
   (Contributed by Carlos Damázio in :gh:`67048`.)
 
index 4f7b018bd4c4f75795883c261bc83071827eeb87..cfa8d6df5bb0ad37f321574bdcd33c772d3298b1 100644 (file)
@@ -2004,15 +2004,15 @@ importlib
 ---------
 
 Methods
-:meth:`MetaPathFinder.find_module() <!importlib.abc.MetaPathFinder.find_module>`
+:meth:`!MetaPathFinder.find_module()`
 (replaced by
 :meth:`MetaPathFinder.find_spec() <importlib.abc.MetaPathFinder.find_spec>`)
 and
-:meth:`PathEntryFinder.find_loader() <!importlib.abc.PathEntryFinder.find_loader>`
+:meth:`!PathEntryFinder.find_loader()`
 (replaced by
 :meth:`PathEntryFinder.find_spec() <importlib.abc.PathEntryFinder.find_spec>`)
 both deprecated in Python 3.4 now emit :exc:`DeprecationWarning`.
-(Contributed by Matthias Bussonnier in :issue:`29576`)
+(Contributed by Matthias Bussonnier in :issue:`29576`.)
 
 The :class:`importlib.abc.ResourceLoader` ABC has been deprecated in
 favour of :class:`importlib.abc.ResourceReader`.