[3.7] bpo-23859: Document that asyncio.wait() does not cancel its fut… · python/cpython@f952694 (original) (raw)

File tree

2 files changed

lines changed

2 files changed

lines changed

| Original file line number | Diff line number | Diff line change | | | | ---------------------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------ | -------------------------------- | | | @@ -768,6 +768,9 @@ Task functions | | | | | | 768 | 768 | | | futures finish or are cancelled. | | | 769 | 769 | +-----------------------------+----------------------------------------+ | | | | 770 | 770 | | | | | | 771 | + Unlike :func:`~asyncio.wait_for`, ``wait()`` will not cancel the futures | | | | | | 772 | + when a timeout occurs. | | | | | | 773 | + | | | | | 771 | 774 | This function is a :ref:`coroutine <coroutine>`. | | | | 772 | 775 | | | | | 773 | 776 | Usage:: | | |

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1 +Document that `asyncio.wait()` does not cancel its futures on timeout.