Skip to content
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