projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e9cd58
)
bpo-24755: Document asyncio.wrap_future (GH-603)
author
adisbladis
<adis@blad.is>
Fri, 9 Jun 2017 06:28:59 +0000
(14:28 +0800)
committer
Mariatta
<Mariatta@users.noreply.github.com>
Fri, 9 Jun 2017 06:28:59 +0000
(23:28 -0700)
Doc/library/asyncio-task.rst
patch
|
blob
|
history
diff --git
a/Doc/library/asyncio-task.rst
b/Doc/library/asyncio-task.rst
index 558d17c096979312d1b43bf75873d750b39c562e..804f1925b409298ac493f5a49e4b6ab8e0738dd2 100644
(file)
--- 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