[Python-checkins] [3.9] Remove duplicate words in docs. (GH-26167) (GH-26297)

iritkatriel webhook-mailer at python.org
Sat May 22 16:56:24 EDT 2021


https://github.com/python/cpython/commit/b21193dd1ef45599b0f1a2314537bfc096fa96bd
commit: b21193dd1ef45599b0f1a2314537bfc096fa96bd
branch: 3.9
author: Mariusz Felisiak <felisiak.mariusz at gmail.com>
committer: iritkatriel <iritkatriel at yahoo.com>
date: 2021-05-22T21:56:19+01:00
summary:

[3.9] Remove duplicate words in docs. (GH-26167) (GH-26297)

(cherry picked from commit b06ed1d883cd79c920c514d8a1f4643cf93dc5e0)

files:
M Doc/library/types.rst
M Doc/library/unittest.mock.rst

diff --git a/Doc/library/types.rst b/Doc/library/types.rst
index 83e2cb4cbddb6..81a2b7b987970 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 9e73ec3240303..b3e7170580108 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')



More information about the Python-checkins mailing list