@@ -297,6 +297,12 @@ Sleeping
297297 tasks to run. This can be used by long-running functions to avoid
298298 blocking the event loop for the full duration of the function call.
299299
300+ .. deprecated-removed :: 3.8 3.10
301+ The ``loop `` parameter. This function has been implicitly getting the
302+ current running loop since 3.7. See
303+ :ref: `What's New in 3.10's Removed section <whatsnew310-removed >`
304+ for more information.
305+
300306 .. _asyncio_example_sleep :
301307
302308 Example of coroutine displaying the current date every second
@@ -317,6 +323,14 @@ Sleeping
317323 asyncio.run(display_date())
318324
319325
326+ .. deprecated-removed :: 3.8 3.10
327+
328+ The ``loop `` parameter. This function has been implicitly getting the
329+ current running loop since 3.7. See
330+ :ref: `What's New in 3.10's Removed section <whatsnew310-removed >`
331+ for more information.
332+
333+
320334Running Tasks Concurrently
321335==========================
322336
@@ -349,6 +363,12 @@ Running Tasks Concurrently
349363 cancellation of one submitted Task/Future to cause other
350364 Tasks/Futures to be cancelled.
351365
366+ .. deprecated-removed :: 3.8 3.10
367+ The ``loop `` parameter. This function has been implicitly getting the
368+ current running loop since 3.7. See
369+ :ref: `What's New in 3.10's Removed section <whatsnew310-removed >`
370+ for more information.
371+
352372 .. _asyncio_example_gather :
353373
354374 Example::
@@ -400,6 +420,12 @@ Running Tasks Concurrently
400420 If the *gather * itself is cancelled, the cancellation is
401421 propagated regardless of *return_exceptions *.
402422
423+ .. deprecated-removed :: 3.8 3.10
424+ The ``loop `` parameter. This function has been implicitly getting the
425+ current running loop since 3.7. See
426+ :ref: `What's New in 3.10's Removed section <whatsnew310-removed >`
427+ for more information.
428+
403429 .. deprecated :: 3.10
404430 Deprecation warning is emitted if no positional arguments are provided
405431 or not all positional arguments are Future-like objects
@@ -442,6 +468,12 @@ Shielding From Cancellation
442468 except CancelledError:
443469 res = None
444470
471+ .. deprecated-removed :: 3.8 3.10
472+ The ``loop `` parameter. This function has been implicitly getting the
473+ current running loop since 3.7. See
474+ :ref: `What's New in 3.10's Removed section <whatsnew310-removed >`
475+ for more information.
476+
445477 .. deprecated :: 3.10
446478 Deprecation warning is emitted if *aw * is not Future-like object
447479 and there is no running event loop.
@@ -473,6 +505,12 @@ Timeouts
473505
474506 If the wait is cancelled, the future *aw * is also cancelled.
475507
508+ .. deprecated-removed :: 3.8 3.10
509+ The ``loop `` parameter. This function has been implicitly getting the
510+ current running loop since 3.7. See
511+ :ref: `What's New in 3.10's Removed section <whatsnew310-removed >`
512+ for more information.
513+
476514 .. _asyncio_example_waitfor :
477515
478516 Example::
@@ -500,6 +538,12 @@ Timeouts
500538 for *aw * to be cancelled. Previously, it raised
501539 :exc: `asyncio.TimeoutError ` immediately.
502540
541+ .. deprecated-removed :: 3.8 3.10
542+ The ``loop `` parameter. This function has been implicitly getting the
543+ current running loop since 3.7. See
544+ :ref: `What's New in 3.10's Removed section <whatsnew310-removed >`
545+ for more information.
546+
503547
504548Waiting Primitives
505549==================
@@ -556,6 +600,12 @@ Waiting Primitives
556600 ``wait() `` directly is deprecated as it leads to
557601 :ref: `confusing behavior <asyncio_example_wait_coroutine >`.
558602
603+ .. deprecated-removed :: 3.8 3.10
604+ The ``loop `` parameter. This function has been implicitly getting the
605+ current running loop since 3.7. See
606+ :ref: `What's New in 3.10's Removed section <whatsnew310-removed >`
607+ for more information.
608+
559609 .. _asyncio_example_wait_coroutine :
560610 .. note ::
561611
@@ -583,6 +633,13 @@ Waiting Primitives
583633 if task in done:
584634 # Everything will work as expected now.
585635
636+ .. deprecated-removed :: 3.8 3.10
637+
638+ The ``loop `` parameter. This function has been implicitly getting the
639+ current running loop since 3.7. See
640+ :ref: `What's New in 3.10's Removed section <whatsnew310-removed >`
641+ for more information.
642+
586643 .. deprecated-removed :: 3.8 3.11
587644
588645 Passing coroutine objects to ``wait() `` directly is
@@ -599,12 +656,24 @@ Waiting Primitives
599656 Raises :exc: `asyncio.TimeoutError ` if the timeout occurs before
600657 all Futures are done.
601658
659+ .. deprecated-removed :: 3.8 3.10
660+ The ``loop `` parameter. This function has been implicitly getting the
661+ current running loop since 3.7. See
662+ :ref: `What's New in 3.10's Removed section <whatsnew310-removed >`
663+ for more information.
664+
602665 Example::
603666
604667 for coro in as_completed(aws):
605668 earliest_result = await coro
606669 # ...
607670
671+ .. deprecated-removed :: 3.8 3.10
672+ The ``loop `` parameter. This function has been implicitly getting the
673+ current running loop since 3.7. See
674+ :ref: `What's New in 3.10's Removed section <whatsnew310-removed >`
675+ for more information.
676+
608677 .. deprecated :: 3.10
609678 Deprecation warning is emitted if not all awaitable objects in the *aws *
610679 iterable are Future-like objects and there is no running event loop.
0 commit comments