Skip to content

Commit 83ccaf2

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

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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
@@ -729,7 +729,7 @@ keyword against a subject. Syntax:
729729

730730
If the OR pattern fails, the AS pattern fails. Otherwise, the AS pattern binds
731731
the subject to the name on the right of the as keyword and succeeds.
732-
``capture_pattern`` cannot be a a ``_``.
732+
``capture_pattern`` cannot be a ``_``.
733733

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

0 commit comments

Comments
 (0)