From 378a7e9a9248baf68c1ef5288a3f723fc943d168 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Sun, 16 May 2021 18:09:02 +0200 Subject: [PATCH] [3.9] Remove duplicate words in docs. (GH-26167) (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 83e2cb4cbddb6b..81a2b7b9879706 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 9e73ec32403037..b3e71705801088 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')