Skip to content

Commit a8313cd

Browse files
cmaloneymiss-islington
authored andcommitted
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 24c5623 commit a8313cd

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
@@ -2224,7 +2224,7 @@ return something else::
22242224
>>> mock == 3
22252225
True
22262226

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

22302230
>>> mock = MagicMock()

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ Doc/library/test.rst
3333
Doc/library/tkinter.rst
3434
Doc/library/tkinter.scrolledtext.rst
3535
Doc/library/tkinter.ttk.rst
36-
Doc/library/unittest.mock.rst
3736
Doc/library/urllib.parse.rst
3837
Doc/library/urllib.request.rst
3938
Doc/library/wsgiref.rst

0 commit comments

Comments
 (0)