]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-101100: Fix Sphinx nitpick in `unittest.mock.rst` (GH-151302)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 11 Jun 2026 15:38:41 +0000 (17:38 +0200)
committerGitHub <noreply@github.com>
Thu, 11 Jun 2026 15:38:41 +0000 (16:38 +0100)
(cherry picked from commit b18168cb32d545ed976b760983478cbd5dde5bdf)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
Doc/library/unittest.mock.rst
Doc/tools/.nitignore

index 92d41222d3827f5ce3820e9ef8865caca6431e63..8875ccadf6ad11a2284f3717daa4491e5ffc6d4a 100644 (file)
@@ -2223,7 +2223,7 @@ return something else::
    >>> mock == 3
    True
 
-The return value of :meth:`MagicMock.__iter__` can be any iterable object and isn't
+The return value of :meth:`!__iter__` can be any iterable object and isn't
 required to be an iterator:
 
    >>> mock = MagicMock()
index c863c99e6dca0c7664206430e5e013f1bd1472ad..e2c69462f21fdcb6973176efcc8dbeaef2f44b24 100644 (file)
@@ -35,7 +35,6 @@ Doc/library/test.rst
 Doc/library/tkinter.rst
 Doc/library/tkinter.scrolledtext.rst
 Doc/library/tkinter.ttk.rst
-Doc/library/unittest.mock.rst
 Doc/library/urllib.parse.rst
 Doc/library/urllib.request.rst
 Doc/library/wsgiref.rst