]> 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 14:52:14 +0000 (07:52 -0700)
committerGitHub <noreply@github.com>
Fri, 14 Jun 2019 14:52:14 +0000 (07:52 -0700)
commit0bd1469a90648229f4c704741ba13f6709b166ea
treebefa7cfd8385988c6a1f6f2114846c4fe5fd2444
parent5292179afc6fd0dc533add054d4790773c9766d0
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