bpo-24755: Document asyncio.wrap_future (GH-603) (GH-2019) · python/cpython@af609a0

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