diff options
author | adisbladis <adis@blad.is> | 2017-06-09 14:28:59 +0800 |
---|---|---|
committer | Mariatta <Mariatta@users.noreply.github.com> | 2017-06-08 23:28:59 -0700 |
commit | 824f6879121413e09439fffef54580413e44bf46 (patch) | |
tree | b74d12d476217684b0eceb37a9458842b1b62ccb | |
parent | 2e9cd5825c5ccdbb6f65a57c0c7941078e003c14 (diff) | |
download | cpython-git-824f6879121413e09439fffef54580413e44bf46.tar.gz |
bpo-24755: Document asyncio.wrap_future (GH-603)
-rw-r--r-- | Doc/library/asyncio-task.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index 558d17c096..804f1925b4 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -540,6 +540,11 @@ Task functions .. deprecated:: 3.4.4 +.. function:: wrap_future(future, \*, loop=None) + + Wrap a :class:`concurrent.futures.Future` object in a :class:`Future` + object. + .. function:: gather(\*coros_or_futures, loop=None, return_exceptions=False) Return a future aggregating results from the given coroutine objects or |