]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101100: Fix Sphinx nitpick in `unittest.mock.rst` (#151302)
authorCody Maloney <cmaloney@users.noreply.github.com>
Thu, 11 Jun 2026 15:29:40 +0000 (08:29 -0700)
committerGitHub <noreply@github.com>
Thu, 11 Jun 2026 15:29:40 +0000 (16:29 +0100)
Doc/library/unittest.mock.rst
Doc/tools/.nitignore

index 2ff1015af7a86e0060465f1c9efccbef77d2a607..6ba1b87ea942a9014d219f9daeb79cce5b4ee6d8 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 31173134dd5019fde6e4f67f2e1721b22c041381..aa08f7acb99197ad164bce688e8408fdb683c040 100644 (file)
@@ -29,7 +29,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