Skip to content

Commit bba6886

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

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
@@ -35,7 +35,6 @@ Doc/library/test.rst
3535
Doc/library/tkinter.rst
3636
Doc/library/tkinter.scrolledtext.rst
3737
Doc/library/tkinter.ttk.rst
38-
Doc/library/unittest.mock.rst
3938
Doc/library/urllib.parse.rst
4039
Doc/library/urllib.request.rst
4140
Doc/library/wsgiref.rst

0 commit comments

Comments
 (0)