From: Mariatta Date: Sun, 17 Mar 2019 23:53:06 +0000 (-0700) Subject: Fix typo in unittest.mock documentation: manger -> manager (GH-12352) X-Git-Tag: v3.7.4rc1~332 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=76ff715e03483bb562b9aeedfa62509c0724ae5a;p=thirdparty%2FPython%2Fcpython.git Fix typo in unittest.mock documentation: manger -> manager (GH-12352) (cherry picked from commit dc69f69f14fb89511d018a3927fc6378a58d2def) Co-authored-by: Joan Massich --- diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst index 6daf0feca3ce..b76ae712a971 100644 --- a/Doc/library/unittest.mock.rst +++ b/Doc/library/unittest.mock.rst @@ -1418,7 +1418,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'])