]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.7] asyncio/docs: Replace Python 4.0 -> 3.10 (GH-9580)
authorYury Selivanov <yury@magic.io>
Tue, 25 Sep 2018 22:00:15 +0000 (18:00 -0400)
committerGitHub <noreply@github.com>
Tue, 25 Sep 2018 22:00:15 +0000 (18:00 -0400)
Doc/library/asyncio-task.rst

index 7fbfd426dba6c533c742e7e50defdc86de76e442..5cbdfeff32f56595ab36dc6cf421f32258fd8a0e 100644 (file)
@@ -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:
 
@@ -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:
 
@@ -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.
@@ -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
@@ -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.