Skip to content

Fix duplicated words in the docs #102629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/library/base64.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`.


Expand Down
2 changes: 1 addition & 1 deletion Doc/reference/compound_stmts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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>``.
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.11.0a6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ Patch by Victor Stinner.
.. section: Build

Building Python now requires support for floating point Not-a-Number (NaN):
remove the ``Py_NO_NAN`` macro. Patch by by Victor Stinner.
remove the ``Py_NO_NAN`` macro. Patch by Victor Stinner.

..

Expand Down
5 changes: 2 additions & 3 deletions Misc/NEWS.d/3.12.0a1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4559,8 +4559,7 @@ The minimum Sphinx version required to build the documentation is now 3.2.
.. section: Documentation

Augmented documentation of asyncio.create_task(). Clarified the need to keep
strong references to tasks and added a code snippet detailing how to to
this.
strong references to tasks and added a code snippet detailing how to do this.

..

Expand Down Expand Up @@ -5066,7 +5065,7 @@ are stubs and not functional.
.. nonce: Bsswsc
.. section: Build

Add a new ``--with-dsymutil`` configure option to to link debug information
Add a new ``--with-dsymutil`` configure option to link debug information
in macOS. Patch by Pablo Galindo.

..
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.12.0a2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ Clean up refleak on failed module initialisation in :mod:`_zoneinfo`
.. nonce: qc_KHr
.. section: Library

Clean up refleaks on failed module initialisation in in :mod:`_pickle`
Clean up refleaks on failed module initialisation in :mod:`_pickle`

..

Expand Down