]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Update concurrent.futures.rst (GH-14061)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 14 Jun 2019 15:11:04 +0000 (08:11 -0700)
committerGitHub <noreply@github.com>
Fri, 14 Jun 2019 15:11:04 +0000 (08:11 -0700)
commit047fa1ddae856aa9aaee21c799349348657b8918
tree65e9457df9ff9ff67da11ffdb61e4314134507d3
parent8b66dbb212d7dffbf9fb545dad2a3400aead1461
Update concurrent.futures.rst (GH-14061)

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>
Doc/library/concurrent.futures.rst