From: Ben Lloyd Date: Mon, 22 May 2017 11:06:56 +0000 (+0100) Subject: Corrected grammar mistake in documentation (#1713) X-Git-Tag: v3.7.0a1~778 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15033d145b77207cea82267aa2fe5f1c2b71d3bd;p=python Corrected grammar mistake in documentation (#1713) There was an unneeded space before a closing parenthesis in the `unittest.mock` documentation. --- diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst index cbe0c9adb8..9e8bf11a92 100644 --- a/Doc/library/unittest.mock.rst +++ b/Doc/library/unittest.mock.rst @@ -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')