* bpo-23859: Document that asyncio.wait() does not cancel its futures (GH-7217)
Unlike `asyncio.wait_for()`, `asyncio.wait()` does not cancel the passed
futures when a timeout accurs.
(cherry picked from commit
f9aeca2085464838f04bf13f816a1f861d43541f)
Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
* Update asyncio-task.rst
| | futures finish or are cancelled. |
+-----------------------------+----------------------------------------+
+ Unlike :func:`~asyncio.wait_for`, ``wait()`` will not cancel the futures
+ when a timeout occurs.
+
This function is a :ref:`coroutine <coroutine>`.
Usage::
--- /dev/null
+Document that `asyncio.wait()` does not cancel its futures on timeout.