Skip to content

Commit fdf0132

Browse files
[3.15] gh-101100: Fix Sphinx nitpick in unittest.mock.rst (GH-151302) (#151355)
(cherry picked from commit b18168c) Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
1 parent 42e81e3 commit fdf0132

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

Doc/library/unittest.mock.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2223,7 +2223,7 @@ return something else::
22232223
>>> mock == 3
22242224
True
22252225

2226-
The return value of :meth:`MagicMock.__iter__` can be any iterable object and isn't
2226+
The return value of :meth:`!__iter__` can be any iterable object and isn't
22272227
required to be an iterator:
22282228

22292229
>>> mock = MagicMock()

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Doc/library/test.rst
2929
Doc/library/tkinter.rst
3030
Doc/library/tkinter.scrolledtext.rst
3131
Doc/library/tkinter.ttk.rst
32-
Doc/library/unittest.mock.rst
3332
Doc/library/urllib.parse.rst
3433
Doc/library/urllib.request.rst
3534
Doc/library/wsgiref.rst

0 commit comments

Comments
 (0)