]> granicus.if.org Git - python/commitdiff
asyncio.tasks.gather: Fix docstring
authorYury Selivanov <yselivanov@sprymix.com>
Thu, 6 Feb 2014 17:03:53 +0000 (12:03 -0500)
committerYury Selivanov <yselivanov@sprymix.com>
Thu, 6 Feb 2014 17:03:53 +0000 (12:03 -0500)
Lib/asyncio/tasks.py

index 38ffec162c61c8edc2665e1e9e7abef1cf11e632..a5708b4c2c51cd6bb03440f5dbb9058e32138458 100644 (file)
@@ -555,7 +555,7 @@ def gather(*coros_or_futures, loop=None, return_exceptions=False):
     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,
+    the order of results 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