Skip to content

Commit 824f687

Browse files
adisbladisMariatta
authored andcommitted
bpo-24755: Document asyncio.wrap_future (GH-603)
1 parent 2e9cd58 commit 824f687

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/library/asyncio-task.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,11 @@ Task functions
540540

541541
.. deprecated:: 3.4.4
542542

543+
.. function:: wrap_future(future, \*, loop=None)
544+
545+
Wrap a :class:`concurrent.futures.Future` object in a :class:`Future`
546+
object.
547+
543548
.. function:: gather(\*coros_or_futures, loop=None, return_exceptions=False)
544549

545550
Return a future aggregating results from the given coroutine objects or

0 commit comments

Comments
 (0)