mirror of
https://github.com/python/cpython.git
synced 2025-09-30 20:31:52 +00:00
bpo-24755: Document asyncio.wrap_future (GH-603) (GH-2019)
(cherry picked from commit 824f687912
)
This commit is contained in:
parent
c422959dac
commit
af609a00a6
1 changed files with 5 additions and 0 deletions
|
@ -540,6 +540,11 @@ Task functions
|
||||||
|
|
||||||
.. deprecated:: 3.4.4
|
.. 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)
|
.. function:: gather(\*coros_or_futures, loop=None, return_exceptions=False)
|
||||||
|
|
||||||
Return a future aggregating results from the given coroutine objects or
|
Return a future aggregating results from the given coroutine objects or
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue