Skip to content

Commit a4fcd06

Browse files
[3.11] Fix duplicated words in the docs (#102644)
(cherry-picked from commit f6ca71a) With grep utility found some duplicated words Co-authored-by: Виталий Дмитриев <[email protected]>
1 parent 8a99deb commit a4fcd06

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Doc/library/base64.rst

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

0 commit comments

Comments
 (0)