]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix duplicated words in the docs (GH-102629)
authorВиталий Дмитриев <vitaldmit@bk.ru>
Sun, 12 Mar 2023 18:03:59 +0000 (21:03 +0300)
committerGitHub <noreply@github.com>
Sun, 12 Mar 2023 18:03:59 +0000 (11:03 -0700)
With grep utility found some duplicated words

Automerge-Triggered-By: GH:AlexWaygood
Doc/library/base64.rst
Doc/reference/compound_stmts.rst
Misc/NEWS.d/3.11.0a6.rst
Misc/NEWS.d/3.12.0a1.rst
Misc/NEWS.d/3.12.0a2.rst

index 4ca3768f827c6b5db3c21dc7cdce80e2fddb449f..d5b6af8c1928eff6cb08032b44af8f4698f90851 100644 (file)
@@ -58,7 +58,7 @@ The modern interface provides:
    This allows an application to e.g. generate URL or filesystem safe Base64
    strings.  The default is ``None``, for which the standard Base64 alphabet is used.
 
-   May assert or raise a :exc:`ValueError` if the length of *altchars* is not 2.  Raises a
+   May assert or raise a :exc:`ValueError` if the length of *altchars* is not 2.  Raises a
    :exc:`TypeError` if *altchars* is not a :term:`bytes-like object`.
 
 
index 52bb0b22b042f61ce7316420fb05b083a6851ae4..f0a8936c35bf4a014369c5660786a442ef1ba0f0 100644 (file)
@@ -816,7 +816,7 @@ keyword against a subject.  Syntax:
 
 If the OR pattern fails, the AS pattern fails.  Otherwise, the AS pattern binds
 the subject to the name on the right of the as keyword and succeeds.
-``capture_pattern`` cannot be a ``_``.
+``capture_pattern`` cannot be a ``_``.
 
 In simple terms ``P as NAME`` will match with ``P``, and on success it will
 set ``NAME = <subject>``.
index 68b80e46690dc90b636370b292eee6a1ae5c8d68..8621edcfb04bb341cef67c19e2431a9906df576d 100644 (file)
@@ -1055,7 +1055,7 @@ Patch by Victor Stinner.
 .. section: Build
 
 Building Python now requires support for floating point Not-a-Number (NaN):
-remove the ``Py_NO_NAN`` macro. Patch by by Victor Stinner.
+remove the ``Py_NO_NAN`` macro. Patch by Victor Stinner.
 
 ..
 
index 2a943fe481af99a6da068cba9ed743088d80496e..075e8da825a331ca8049066d2e1230d7e5b7f0c6 100644 (file)
@@ -4559,8 +4559,7 @@ The minimum Sphinx version required to build the documentation is now 3.2.
 .. section: Documentation
 
 Augmented documentation of asyncio.create_task(). Clarified the need to keep
-strong references to tasks and added a code snippet detailing how to to
-this.
+strong references to tasks and added a code snippet detailing how to do this.
 
 ..
 
@@ -5066,7 +5065,7 @@ are stubs and not functional.
 .. nonce: Bsswsc
 .. section: Build
 
-Add a new ``--with-dsymutil`` configure option to to link debug information
+Add a new ``--with-dsymutil`` configure option to link debug information
 in macOS. Patch by Pablo Galindo.
 
 ..
index 41ad8cd22b5d89df8f013a332b30881c5f3ad0f7..117be21a3221b609072b9d293c049af220246944 100644 (file)
@@ -546,7 +546,7 @@ Clean up refleak on failed module initialisation in :mod:`_zoneinfo`
 .. nonce: qc_KHr
 .. section: Library
 
-Clean up refleaks on failed module initialisation in in :mod:`_pickle`
+Clean up refleaks on failed module initialisation in :mod:`_pickle`
 
 ..