Staging
v0.5.1
https://github.com/python/cpython
Revision 0bd1469a90648229f4c704741ba13f6709b166ea authored by Miss Islington (bot) on 14 June 2019, 14:52:14 UTC, committed by GitHub on 14 June 2019, 14:52:14 UTC

This PR adds missing details in the [`concurrent.futures`](https://docs.python.org/3/library/concurrent.futures.html) documentation:

* the mention that `Future.cancel` also returns `False` if the call finished running;
* the mention of the states for `Future` that did not complete: pending or running.
(cherry picked from commit 431478d5d74d880692817323198b9605af972fa5)

Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
1 parent 5292179
Raw File
Tip revision: 0bd1469a90648229f4c704741ba13f6709b166ea authored by Miss Islington (bot) on 14 June 2019, 14:52:14 UTC
Update concurrent.futures.rst (GH-14061)
Tip revision: 0bd1469
indent.pro
--blank-lines-after-declarations
--blank-lines-after-procedures
--braces-after-func-def-line
--braces-on-if-line
--braces-on-struct-decl-line
--break-after-boolean-operator
--comment-indentation25
--comment-line-length79
--continue-at-parentheses
--dont-cuddle-do-while
--dont-cuddle-else
--indent-level4
--line-length79
--no-space-after-casts
--no-space-after-function-call-names
--no-space-after-parentheses
--no-tabs
--procnames-start-lines
--space-after-for
--space-after-if
--space-after-while
--swallow-optional-blank-lines
-T PyCFunction
-T PyObject
back to top