summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorВиталий Дмитриев <vitaldmit@bk.ru>2023-03-12 18:03:59 (GMT)
committerGitHub <noreply@github.com>2023-03-12 18:03:59 (GMT)
commitf6ca71a42268dcd890bd1930501b6c7e6d7ce66e (patch)
treef34bf96736159ea2085c26830cdeb6f3716ed659 /Doc
parent6cd7572f859a32a1f4626644c3e8139055df59e3 (diff)
downloadcpython-f6ca71a42268dcd890bd1930501b6c7e6d7ce66e.zip
cpython-f6ca71a42268dcd890bd1930501b6c7e6d7ce66e.tar.gz
cpython-f6ca71a42268dcd890bd1930501b6c7e6d7ce66e.tar.bz2
Fix duplicated words in the docs (GH-102629)
With grep utility found some duplicated words Automerge-Triggered-By: GH:AlexWaygood
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/base64.rst2
-rw-r--r--Doc/reference/compound_stmts.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/base64.rst b/Doc/library/base64.rst
index 4ca3768..d5b6af8 100644
--- a/Doc/library/base64.rst
+++ b/Doc/library/base64.rst
@@ -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 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`.
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index 52bb0b2..f0a8936c 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -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 a ``_``.
+``capture_pattern`` cannot be a ``_``.
In simple terms ``P as NAME`` will match with ``P``, and on success it will
set ``NAME = <subject>``.