]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.9] Remove duplicate words in docs. (GH-26167) (GH-26297)
authorMariusz Felisiak <felisiak.mariusz@gmail.com>
Sat, 22 May 2021 20:56:19 +0000 (22:56 +0200)
committerGitHub <noreply@github.com>
Sat, 22 May 2021 20:56:19 +0000 (21:56 +0100)
(cherry picked from commit b06ed1d883cd79c920c514d8a1f4643cf93dc5e0)

Doc/library/types.rst
Doc/library/unittest.mock.rst

index 83e2cb4cbddb6b030f1682408eade3eef347b934..81a2b7b987970692e30f59a09c917840c954d763 100644 (file)
@@ -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
 
index 9e73ec3240303772e9632cd9f1c07c007dab7637..b3e71705801088fe9248ee2285e043807e2b21ea 100644 (file)
@@ -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')