]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] Fix typo in multiprocessing.pool.AsyncResult.successful doc. (GH-17932) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 15 Jan 2020 20:19:21 +0000 (12:19 -0800)
committerGitHub <noreply@github.com>
Wed, 15 Jan 2020 20:19:21 +0000 (12:19 -0800)
commit54abd28b2c4fab37f38e9d6c5e4120c9428a759e
tree76d6d0f81601127b1ffe6c4ff07df41a83e25a41
parent92135775ce12fd71f0878c0a8a0652c197fcc60b
[3.8] Fix typo in multiprocessing.pool.AsyncResult.successful doc. (GH-17932) (GH-18015)

Since 3.7 `successful` raises a `ValueError` as explained in the next text block from the documentation:

_Changed in version 3.7: If the result is not ready, ValueError is raised instead of AssertionError._

No issue associated with this PR.
Should be backported in 3.7 and 3.8.
(cherry picked from commit dc0284ee8f7a270b6005467f26d8e5773d76e959)

Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com>
Automerge-Triggered-By: @pitrou
Doc/library/multiprocessing.rst