@@ -271,7 +271,7 @@ Sleeping
271
271
when the coroutine completes.
272
272
273
273
The *loop * argument is deprecated and scheduled for removal
274
- in Python 4.0 .
274
+ in Python 3.10 .
275
275
276
276
.. _asyncio_example_sleep :
277
277
@@ -429,7 +429,7 @@ Timeouts
429
429
If the wait is cancelled, the future *aw * is also cancelled.
430
430
431
431
The *loop * argument is deprecated and scheduled for removal
432
- in Python 4.0 .
432
+ in Python 3.10 .
433
433
434
434
.. _asyncio_example_waitfor :
435
435
@@ -481,7 +481,7 @@ Waiting Primitives
481
481
done, pending = await asyncio.wait(aws)
482
482
483
483
The *loop * argument is deprecated and scheduled for removal
484
- in Python 4.0 .
484
+ in Python 3.10 .
485
485
486
486
*timeout * (a float or int), if specified, can be used to control
487
487
the maximum number of seconds to wait before returning.
@@ -857,7 +857,7 @@ Generator-based Coroutines
857
857
.. note ::
858
858
859
859
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 .
861
861
862
862
Generator-based coroutines predate async/await syntax. They are
863
863
Python generators that use ``yield from `` expressions to await
@@ -883,7 +883,7 @@ enforced.
883
883
await old_style_coroutine()
884
884
885
885
This decorator is **deprecated ** and is scheduled for removal in
886
- Python 4.0 .
886
+ Python 3.10 .
887
887
888
888
This decorator should not be used for :keyword: `async def `
889
889
coroutines.
0 commit comments