]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] Clarify state of CancelledError in doc (GH-106453) (#106454)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 6 Jul 2023 11:04:43 +0000 (04:04 -0700)
committerGitHub <noreply@github.com>
Thu, 6 Jul 2023 11:04:43 +0000 (16:34 +0530)
commite229225fbaa2de58b5143fea25b9d47480393f56
tree9272f1d2d80bc5fef3ed6153992ae56650d6b0d1
parent84cda268bd2c65c99d2ff69731d83e694146de70
[3.12] Clarify state of CancelledError in doc (GH-106453) (#106454)

Clarify state of CancelledError in doc (GH-106453)

This change makes it explicit that asyncio.CancelledError is not a subclass of Exception.
(cherry picked from commit 12a98138083589314d3da14bc97f2d8517947437)

Co-authored-by: Kristján Valur Jónsson <sweskman@gmail.com>
Doc/library/asyncio-exceptions.rst