[Python-checkins] [3.7] asyncio/docs: Replace Python 4.0 -> 3.10 (GH-9580)
Yury Selivanov
webhook-mailer at python.org
Tue Sep 25 18:00:19 EDT 2018
https://github.com/python/cpython/commit/22a56958e72957e2ee6fb84ac5376c4ba642f4ce
commit: 22a56958e72957e2ee6fb84ac5376c4ba642f4ce
branch: 3.7
author: Yury Selivanov <yury at magic.io>
committer: GitHub <noreply at github.com>
date: 2018-09-25T18:00:15-04:00
summary:
[3.7] asyncio/docs: Replace Python 4.0 -> 3.10 (GH-9580)
files:
M Doc/library/asyncio-task.rst
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index 7fbfd426dba6..5cbdfeff32f5 100644
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -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.
More information about the Python-checkins
mailing list