8000 [3.13] Docs: Fix duplicate word typos (GH-135958) by brianschubert · Pull Request #136008 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.13] Docs: Fix duplicate word typos (GH-135958) #136008

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 1 commit into from
Jun 27, 2025
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/c-api/long.rst
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
All *n_bytes* of the buffer are written: large buffers are padded with
zeroes.

If the returned value is greater than than *n_bytes*, the value was
If the returned value is greater than *n_bytes*, the value was
truncated: as many of the lowest bits of the value as could fit are written,
and the higher bits are ignored. This matches the typical behavior
of a C-style downcast.
Expand Down
4 changes: 2 additions & 2 deletions Doc/library/email.header.rst
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ The :mod:`email.header` module also provides the following convenient functions.

.. note::

This function exists for for backwards compatibility only. For
This function exists for backwards compatibility only. For
new code, we recommend using :class:`email.headerregistry.HeaderRegistry`.


Expand All @@ -225,5 +225,5 @@ The :mod:`email.header` module also provides the following convenient functions.

.. note::

This function exists for for backwards compatibility only, and is
This function exists for backwards compatibility only, and is
not recommended for use in new code.
2 changes: 1 addition & 1 deletion Doc/library/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ their subgroups based on the types of the contained exceptions.
subclasses that need a different constructor signature need to
override that rather than :meth:`~object.__init__`. For example, the following
defines an exception group subclass which accepts an exit_code and
and constructs the group's message from it. ::
constructs the group's message from it. ::

class Errors(ExceptionGroup):
def __new__(cls, errors, exit_code):
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/mmap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@

Resizes the map and the underlying file, if any.

Resizing a map created with *access* of :const:`ACCESS_READ` or

Check warning on line 270 in Doc/library/mmap.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:const reference target not found: ACCESS_COPY [ref.const]

Check warning on line 270 in Doc/library/mmap.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:const reference target not found: ACCESS_READ [ref.const]
:const:`ACCESS_COPY`, will raise a :exc:`TypeError` exception.
Resizing a map created with with *trackfd* set to ``False``,
Resizing a map created with *trackfd* set to ``False``,
will raise a :exc:`ValueError` exception.

**On Windows**: Resizing the map will raise an :exc:`OSError` if there are other
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/socketserver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ objects that simplify communication by providing the standard file interface)::

The difference is that the ``readline()`` call in the second handler will call
``recv()`` multiple times until it encounters a newline character, while the
the first handler had to use a ``recv()`` loop to accumulate data until a
first handler had to use a ``recv()`` loop to accumulate data until a
newline itself. If it had just used a single ``recv()`` without the loop it
would just have returned what has been received so far from the client.
TCP is stream based: data arrives in the order it was sent, but there no
Expand Down
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2005,7 +2005,7 @@ New Deprecations
(Contributed by Alex Waygood in :gh:`105566` and :gh:`105570`.)

* Deprecate the :func:`typing.no_type_check_decorator` decorator function,
to be removed in in Python 3.15.
to be removed in Python 3.15.
After eight years in the :mod:`typing` module,
it has yet to be supported by any major type checker.
(Contributed by Alex Waygood in :gh:`106309`.)
Expand Down
Loading
0