Skip to content

Commit 22a5695

Browse files
authored
[3.7] asyncio/docs: Replace Python 4.0 -> 3.10 (GH-9580)
1 parent 3cc9557 commit 22a5695

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Doc/library/asyncio-task.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ Sleeping
271271
when the coroutine completes.
272272

273273
The *loop* argument is deprecated and scheduled for removal
274-
in Python 4.0.
274+
in Python 3.10.
275275

276276
.. _asyncio_example_sleep:
277277

@@ -429,7 +429,7 @@ Timeouts
429429
If the wait is cancelled, the future *aw* is also cancelled.
430430

431431
The *loop* argument is deprecated and scheduled for removal
432-
in Python 4.0.
432+
in Python 3.10.
433433

434434
.. _asyncio_example_waitfor:
435435

@@ -481,7 +481,7 @@ Waiting Primitives
481481
done, pending = await asyncio.wait(aws)
482482

483483
The *loop* argument is deprecated and scheduled for removal
484-
in Python 4.0.
484+
in Python 3.10.
485485

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

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

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

885885
This decorator is **deprecated** and is scheduled for removal in
886-
Python 4.0.
886+
Python 3.10.
887887

888888
This decorator should not be used for :keyword:`async def`
889889
coroutines.

0 commit comments

Comments
 (0)