summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-task.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-19 15:36:51 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-19 15:36:51 (GMT)
commit7d6dda4b783dc8720b354e5ede766fcb8407de14 (patch)
treee89b9cb93e95954bc563b6b9401e9f414572ee6a /Doc/library/asyncio-task.rst
parent3f561b791165c53f755e6aa35c7c10b48285eaae (diff)
parent4adf01caae967cc2962ba69b1a193875b84cfa4e (diff)
downloadcpython-7d6dda4b783dc8720b354e5ede766fcb8407de14.zip
cpython-7d6dda4b783dc8720b354e5ede766fcb8407de14.tar.gz
cpython-7d6dda4b783dc8720b354e5ede766fcb8407de14.tar.bz2
Issue #19795: Improved more markups of True/False.
Diffstat (limited to 'Doc/library/asyncio-task.rst')
-rw-r--r--Doc/library/asyncio-task.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index 766e3b8..9bff1c4 100644
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -245,7 +245,7 @@ Future
.. method:: done()
- Return True if the future is done.
+ Return ``True`` if the future is done.
Done means either that a result / exception are available, or that the
future was cancelled.
@@ -562,7 +562,7 @@ Task functions
All futures must share the same event loop. If all the tasks are done
successfully, the returned future's result is the list of results (in the
order of the original sequence, not necessarily the order of results
- arrival). If *return_exceptions* is True, exceptions in the tasks are
+ arrival). If *return_exceptions* is true, exceptions in the tasks are
treated the same as successful results, and gathered in the result list;
otherwise, the first raised exception will be immediately propagated to the
returned future.