Commit f9aeca20 authored by Elvis Pranskevichus's avatar Elvis Pranskevichus Committed by Yury Selivanov

bpo-23859: Document that asyncio.wait() does not cancel its futures (#7217)

Unlike `asyncio.wait_for()`, `asyncio.wait()` does not cancel the passed
futures when a timeout accurs.
parent e2b340ab
......@@ -768,6 +768,9 @@ Task functions
| | futures finish or are cancelled. |
+-----------------------------+----------------------------------------+
Unlike :func:`~asyncio.wait_for`, ``wait()`` will not cancel the futures
when a timeout accurs.
This function is a :ref:`coroutine <coroutine>`.
Usage::
......
Document that `asyncio.wait()` does not cancel its futures on timeout.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment