Skip to content

Commit 15033d1

Browse files
shobuteserhiy-storchaka
authored andcommitted
Corrected grammar mistake in documentation (#1713)
There was an unneeded space before a closing parenthesis in the `unittest.mock` documentation.
1 parent 50e8603 commit 15033d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/unittest.mock.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,8 +1572,8 @@ do then it imports ``SomeClass`` from module a. If we use :func:`patch` to mock
15721572
reference to the *real* ``SomeClass`` and it looks like our patching had no
15731573
effect.
15741574

1575-
The key is to patch out ``SomeClass`` where it is used (or where it is looked up
1576-
). In this case ``some_function`` will actually look up ``SomeClass`` in module b,
1575+
The key is to patch out ``SomeClass`` where it is used (or where it is looked up).
1576+
In this case ``some_function`` will actually look up ``SomeClass`` in module b,
15771577
where we have imported it. The patching should look like::
15781578

15791579
@patch('b.SomeClass')

0 commit comments

Comments
 (0)