[Python-checkins] Fix typo in unittest.mock documentation: manger -> manager (GH-12352)

Mariatta webhook-mailer at python.org
Sun Mar 17 19:34:26 EDT 2019


https://github.com/python/cpython/commit/dc69f69f14fb89511d018a3927fc6378a58d2def
commit: dc69f69f14fb89511d018a3927fc6378a58d2def
branch: master
author: Joan Massich <mailsik at gmail.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2019-03-17T16:34:22-07:00
summary:

Fix typo in unittest.mock documentation: manger -> manager (GH-12352)

files:
M Doc/library/unittest.mock.rst

diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst
index c011e54e3e73..ff7a54c51fba 100644
--- a/Doc/library/unittest.mock.rst
+++ b/Doc/library/unittest.mock.rst
@@ -1440,7 +1440,7 @@ passed by keyword *after* any of the standard arguments created by :func:`patch`
     >>> test_function()
 
 If :func:`patch.multiple` is used as a context manager, the value returned by the
-context manger is a dictionary where created mocks are keyed by name::
+context manager is a dictionary where created mocks are keyed by name::
 
     >>> with patch.multiple('__main__', thing=DEFAULT, other=DEFAULT) as values:
     ...     assert 'other' in repr(values['other'])



More information about the Python-checkins mailing list