summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-12-03 18:17:25 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-12-03 18:17:25 (GMT)
commit99c2ab4b837288c0b29a1777988b07a77171c544 (patch)
treedb1360486bdf22f174f60c472f2c4d5dc74c111b /Doc/library/asyncio.rst
parentcf6f72e329838d774dbd9cbb795c7d213ebc55bc (diff)
downloadcpython-99c2ab4b837288c0b29a1777988b07a77171c544.zip
cpython-99c2ab4b837288c0b29a1777988b07a77171c544.tar.gz
cpython-99c2ab4b837288c0b29a1777988b07a77171c544.tar.bz2
asyncio doc: oh, asyncio module has its own Future class
Improve also wait() documentation: mention that the first parameter is a sequence
Diffstat (limited to 'Doc/library/asyncio.rst')
-rw-r--r--Doc/library/asyncio.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/asyncio.rst b/Doc/library/asyncio.rst
index 76e26c0..e00f6ce 100644
--- a/Doc/library/asyncio.rst
+++ b/Doc/library/asyncio.rst
@@ -24,8 +24,8 @@ Here is a more detailed list of the package contents:
* concrete support for TCP, UDP, SSL, subprocess pipes, delayed calls, and
others (some may be system-dependent);
-* a Future class that mimicks the one in the :mod:`concurrent.futures` module,
- but adapted for use with the event loop;
+* a :class:`Future` class that mimicks the one in the :mod:`concurrent.futures`
+ module, but adapted for use with the event loop;
* coroutines and tasks based on ``yield from`` (:PEP:`380`), to help write
concurrent code in a sequential fashion;