Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
029981bb
Commit
029981bb
authored
Jan 20, 2014
by
Eli Bendersky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify what the loop arguments means for functions listed in 18.5.2.5
parent
2d26af82
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Doc/library/asyncio-task.rst
Doc/library/asyncio-task.rst
+6
-0
No files found.
Doc/library/asyncio-task.rst
View file @
029981bb
...
@@ -374,6 +374,12 @@ loop stops when all tasks are done.
...
@@ -374,6 +374,12 @@ loop stops when all tasks are done.
Task functions
Task functions
--------------
--------------
.. note::
In the functions below, the optional *loop* argument allows to explicitly set
the event loop object used by the underlying task or coroutine. If it's
not provided, the default event loop is used.
.. function:: as_completed(fs, \*, loop=None, timeout=None)
.. function:: as_completed(fs, \*, loop=None, timeout=None)
Return an iterator whose values, when waited for, are :class:`Future`
Return an iterator whose values, when waited for, are :class:`Future`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment