@@ -334,6 +334,9 @@ Running Tasks Concurrently
334334 cancellation of one submitted Task/Future to cause other
335335 Tasks/Futures to be cancelled.
336336
337+ .. deprecated-removed :: 3.8 3.10
338+ The *loop * parameter.
339+
337340 .. _asyncio_example_gather :
338341
339342 Example::
@@ -411,6 +414,9 @@ Shielding From Cancellation
411414 except CancelledError:
412415 res = None
413416
417+ .. deprecated-removed :: 3.8 3.10
418+ The *loop * parameter.
419+
414420
415421Timeouts
416422========
@@ -478,22 +484,12 @@ Waiting Primitives
478484 set concurrently and block until the condition specified
479485 by *return_when *.
480486
481- .. deprecated :: 3.8
482-
483- If any awaitable in *aws * is a coroutine, it is automatically
484- scheduled as a Task. Passing coroutines objects to
485- ``wait() `` directly is deprecated as it leads to
486- :ref: `confusing behavior <asyncio_example_wait_coroutine >`.
487-
488487 Returns two sets of Tasks/Futures: ``(done, pending) ``.
489488
490489 Usage::
491490
492491 done, pending = await asyncio.wait(aws)
493492
494- .. deprecated-removed :: 3.8 3.10
495- The *loop * parameter.
496-
497493 *timeout * (a float or int), if specified, can be used to control
498494 the maximum number of seconds to wait before returning.
499495
@@ -525,6 +521,17 @@ Waiting Primitives
525521 Unlike :func: `~asyncio.wait_for `, ``wait() `` does not cancel the
526522 futures when a timeout occurs.
527523
524+ .. deprecated :: 3.8
525+
526+ If any awaitable in *aws * is a coroutine, it is automatically
527+ scheduled as a Task. Passing coroutines objects to
528+ ``wait() `` directly is deprecated as it leads to
529+ :ref: `confusing behavior <asyncio_example_wait_coroutine >`.
530+
531+ .. deprecated-removed :: 3.8 3.10
532+
533+ The *loop * parameter.
534+
528535 .. _asyncio_example_wait_coroutine :
529536 .. note ::
530537
@@ -568,6 +575,9 @@ Waiting Primitives
568575 Raises :exc: `asyncio.TimeoutError ` if the timeout occurs before
569576 all Futures are done.
570577
578+ .. deprecated-removed :: 3.8 3.10
579+ The *loop * parameter.
580+
571581 Example::
572582
573583 for f in as_completed(aws):
@@ -694,6 +704,9 @@ Task Object
694704 .. versionchanged :: 3.8
695705 Added the ``name `` parameter.
696706
707+ .. deprecated-removed :: 3.8 3.10
708+ The *loop * parameter.
709+
697710 .. method :: cancel()
698711
699712 Request the Task to be cancelled.
0 commit comments