summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-09 00:35:24 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-02-09 00:35:24 (GMT)
commit12c68b20b71f77f8bcfdf690b4246b7256b9b04a (patch)
tree0f4113b411fb6ca330cc53526bfb0be93a944bcc
parent87bf2772be6138044c79011ad1a4daf91dc08a7f (diff)
downloadcpython-12c68b20b71f77f8bcfdf690b4246b7256b9b04a.zip
cpython-12c68b20b71f77f8bcfdf690b4246b7256b9b04a.tar.gz
cpython-12c68b20b71f77f8bcfdf690b4246b7256b9b04a.tar.bz2
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 cfad0bc..d638b20 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.