]> granicus.if.org Git - python/commitdiff
Corrected grammar mistake in documentation (#1713)
authorBen Lloyd <shobute@users.noreply.github.com>
Mon, 22 May 2017 11:06:56 +0000 (12:06 +0100)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 22 May 2017 11:06:56 +0000 (14:06 +0300)
There was an unneeded space before a closing parenthesis in the `unittest.mock` documentation.

Doc/library/unittest.mock.rst

index cbe0c9adb8a37bfc516eb6757e2cfd1aba40f81b..9e8bf11a92d45a26f7817f9b0b8ceb55816e4b11 100644 (file)
@@ -1572,8 +1572,8 @@ do then it imports ``SomeClass`` from module a. If we use :func:`patch` to mock
 reference to the *real* ``SomeClass`` and it looks like our patching had no
 effect.
 
-The key is to patch out ``SomeClass`` where it is used (or where it is looked up
-). In this case ``some_function`` will actually look up ``SomeClass`` in module b,
+The key is to patch out ``SomeClass`` where it is used (or where it is looked up).
+In this case ``some_function`` will actually look up ``SomeClass`` in module b,
 where we have imported it. The patching should look like::
 
     @patch('b.SomeClass')