Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
DOC update the doc to contain 'status'
  • Loading branch information
tomMoral committed Jan 12, 2018
commit bd49fa0fb4711b7e250184a1b8058723e960169f
5 changes: 4 additions & 1 deletion Doc/library/concurrent.futures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,13 @@ Executor Objects
which are currently being processed by the executor. The WorkItem
object is a container holding the function *fn*, its arguments
*args* and *kwargs* and the associated :class:`Future` in *future*.
- `waiting_tasks`: a dictionary with WorkItems representing the
- `waiting_tasks`: a dictionary with WorkItems representing the
tasks waiting to be processed by the executor. The WorkItem object
is a container holding the function *fn*, its arguments *args* and
*kwargs* and the associated :class:`Future` in *future*.
- `status`: a string holding the status of the executor. It can be
one of {"not_started", "running", "broken", "shutting_down",
"shutdown"}.

.. versionchanged:: 3.7
Added the *stat* method.
Expand Down