mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
[3.10] Fix duplicated words in the docs (#102645)
(cherry-picked from commit f6ca71a)
With grep utility found some duplicated words
Co-authored-by: Виталий Дмитриев <vitaldmit@bk.ru>
This commit is contained in:
parent
d4f8fafd2d
commit
83ccaf2c09
2 changed files with 2 additions and 2 deletions
|
|
@ -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`.
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -729,7 +729,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>``.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue