8000 [3.7] asyncio/docs: Replace Python 4.0 -> 3.10 by 1st1 · Pull Request #9580 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.7] asyncio/docs: Replace Python 4.0 -> 3.10 #9580

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
Sep 25, 2018
Merged
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
10 changes: 5 additions & 5 deletions Doc/library/asyncio-task.rst
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ Sleeping
when the coroutine completes.

The *loop* argument is deprecated and scheduled for removal
in Python 4.0.
in Python 3.10.

.. _asyncio_example_sleep:

Expand Down Expand Up @@ -429,7 +429,7 @@ Timeouts
If the wait is cancelled, the future *aw* is also cancelled.

The *loop* argument is deprecated and scheduled for removal
in Python 4.0.
in Python 3.10.

.. _asyncio_example_waitfor:

Expand Down Expand Up @@ -481,7 +481,7 @@ Waiting Primitives
done, pending = await asyncio.wait(aws)

The *loop* argument is deprecated and scheduled for removal
in Python 4.0.
in Python 3.10.

*timeout* (a float or int), if specified, can be used to control
the maximum number of seconds to wait before returning.
Expand Down Expand Up @@ -857,7 +857,7 @@ Generator-based Coroutines
.. note::

Support for generator-based coroutines is **deprecated** and
is scheduled for removal in Python 4.0.
is scheduled for removal in Python 3.10.

Generator-based coroutines predate async/await syntax. They are
Python generators that use ``yield from`` expressions to await
Expand All @@ -883,7 +883,7 @@ enforced.
await old_style_coroutine()

This decorator is **deprecated** and is scheduled for removal in
Python 4.0.
Python 3.10.

This decorator should not be used for :keyword:`async def`
coroutines.
Expand Down
0