From: Mariusz Felisiak Date: Sat, 22 May 2021 20:56:19 +0000 (+0200) Subject: [3.9] Remove duplicate words in docs. (GH-26167) (GH-26297) X-Git-Tag: v3.9.6~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b21193dd1ef45599b0f1a2314537bfc096fa96bd;p=thirdparty%2FPython%2Fcpython.git [3.9] Remove duplicate words in docs. (GH-26167) (GH-26297) (cherry picked from commit b06ed1d883cd79c920c514d8a1f4643cf93dc5e0) --- diff --git a/Doc/library/types.rst b/Doc/library/types.rst index 83e2cb4cbddb..81a2b7b98797 100644 --- a/Doc/library/types.rst +++ b/Doc/library/types.rst @@ -264,8 +264,8 @@ Standard names are defined for the following types: .. attribute:: __spec__ - A record of the the module's import-system-related state. Expected to be - an instance of :class:`importlib.machinery.ModuleSpec`. + A record of the module's import-system-related state. Expected to be an + instance of :class:`importlib.machinery.ModuleSpec`. .. versionadded:: 3.4 diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst index 9e73ec324030..b3e717058010 100644 --- a/Doc/library/unittest.mock.rst +++ b/Doc/library/unittest.mock.rst @@ -327,8 +327,8 @@ the *new_callable* argument to :func:`patch`. .. method:: assert_called_once_with(*args, **kwargs) - Assert that the mock was called exactly once and that that call was - with the specified arguments. + Assert that the mock was called exactly once and that call was with the + specified arguments. >>> mock = Mock(return_value=None) >>> mock('foo', bar='baz')