summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Lloyd <shobute@users.noreply.github.com>2017-05-22 11:06:56 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-05-22 11:06:56 (GMT)
commit15033d145b77207cea82267aa2fe5f1c2b71d3bd (patch)
treecf567616da326ff9ba97669c74bd94fb748a960d
parent50e86033de85294d87b7e942701d456342abde8e (diff)
downloadcpython-15033d145b77207cea82267aa2fe5f1c2b71d3bd.zip
cpython-15033d145b77207cea82267aa2fe5f1c2b71d3bd.tar.gz
cpython-15033d145b77207cea82267aa2fe5f1c2b71d3bd.tar.bz2
Corrected grammar mistake in documentation (#1713)
There was an unneeded space before a closing parenthesis in the `unittest.mock` documentation.
-rw-r--r--Doc/library/unittest.mock.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst
index cbe0c9a..9e8bf11 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')