Skip to content

Commit b18168c

Browse files
authored
gh-101100: Fix Sphinx nitpick in unittest.mock.rst (#151302)
1 parent b9bffc0 commit b18168c

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)