summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-09 01:35:24 +0100
committerVictor Stinner <victor.stinner@gmail.com>2014-02-09 01:35:24 +0100
commit12c68b20b71f77f8bcfdf690b4246b7256b9b04a (patch)
tree0f4113b411fb6ca330cc53526bfb0be93a944bcc
parent87bf2772be6138044c79011ad1a4daf91dc08a7f (diff)
downloadcpython-git-12c68b20b71f77f8bcfdf690b4246b7256b9b04a.tar.gz
asyncio doc: fix gather() doc
-rw-r--r--Doc/library/asyncio-task.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index cfad0bc22b..d638b2064e 100644
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -415,7 +415,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 *result_exception* 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.