mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #19795: Improved more markups of True/False.
This commit is contained in:
parent
1883542eb9
commit
4adf01caae
14 changed files with 23 additions and 23 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue