Skip to content

Commit f6ca71a

Browse files
authored
Fix duplicated words in the docs (GH-102629)
With grep utility found some duplicated words Automerge-Triggered-By: GH:AlexWaygood
1 parent 6cd7572 commit f6ca71a

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

Doc/library/base64.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The modern interface provides:
5858
This allows an application to e.g. generate URL or filesystem safe Base64
5959
strings. The default is ``None``, for which the standard Base64 alphabet is used.
6060

61-
May assert or raise a a :exc:`ValueError` if the length of *altchars* is not 2. Raises a
61+
May assert or raise a :exc:`ValueError` if the length of *altchars* is not 2. Raises a
6262
:exc:`TypeError` if *altchars* is not a :term:`bytes-like object`.
6363

6464

Doc/reference/compound_stmts.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ keyword against a subject. Syntax:
816816

817817
If the OR pattern fails, the AS pattern fails. Otherwise, the AS pattern binds
818818
the subject to the name on the right of the as keyword and succeeds.
819-
``capture_pattern`` cannot be a a ``_``.
819+
``capture_pattern`` cannot be a ``_``.
820820

821821
In simple terms ``P as NAME`` will match with ``P``, and on success it will
822822
set ``NAME = <subject>``.

Misc/NEWS.d/3.11.0a6.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ Patch by Victor Stinner.
10551055
.. section: Build
10561056
10571057
Building Python now requires support for floating point Not-a-Number (NaN):
1058-
remove the ``Py_NO_NAN`` macro. Patch by by Victor Stinner.
1058+
remove the ``Py_NO_NAN`` macro. Patch by Victor Stinner.
10591059

10601060
..
10611061

Misc/NEWS.d/3.12.0a1.rst

+2-3
Original file line numberDiff line numberDiff line change
@@ -4559,8 +4559,7 @@ The minimum Sphinx version required to build the documentation is now 3.2.
45594559
.. section: Documentation
45604560
45614561
Augmented documentation of asyncio.create_task(). Clarified the need to keep
4562-
strong references to tasks and added a code snippet detailing how to to
4563-
this.
4562+
strong references to tasks and added a code snippet detailing how to do this.
45644563

45654564
..
45664565
@@ -5066,7 +5065,7 @@ are stubs and not functional.
50665065
.. nonce: Bsswsc
50675066
.. section: Build
50685067
5069-
Add a new ``--with-dsymutil`` configure option to to link debug information
5068+
Add a new ``--with-dsymutil`` configure option to link debug information
50705069
in macOS. Patch by Pablo Galindo.
50715070

50725071
..

Misc/NEWS.d/3.12.0a2.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ Clean up refleak on failed module initialisation in :mod:`_zoneinfo`
546546
.. nonce: qc_KHr
547547
.. section: Library
548548
549-
Clean up refleaks on failed module initialisation in in :mod:`_pickle`
549+
Clean up refleaks on failed module initialisation in :mod:`_pickle`
550550

551551
..
552552

0 commit comments

Comments
 (0)