From b21193dd1ef45599b0f1a2314537bfc096fa96bd Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Sat, 22 May 2021 22:56:19 +0200 Subject: [3.9] Remove duplicate words in docs. (GH-26167) (GH-26297) (cherry picked from commit b06ed1d883cd79c920c514d8a1f4643cf93dc5e0) --- Doc/library/types.rst | 4 ++-- Doc/library/unittest.mock.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/library/types.rst b/Doc/library/types.rst index 83e2cb4..81a2b7b 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 9e73ec3..b3e7170 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') -- cgit v0.12