mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Clarify state of CancelledError in doc (#106453)
This change makes it explicit that asyncio.CancelledError is not a subclass of Exception.
This commit is contained in:
parent
9d1d4f9c73
commit
12a9813808
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ Exceptions
|
|||
|
||||
.. versionchanged:: 3.8
|
||||
|
||||
:exc:`CancelledError` is now a subclass of :class:`BaseException`.
|
||||
:exc:`CancelledError` is now a subclass of :class:`BaseException` rather than :class:`Exception`.
|
||||
|
||||
|
||||
.. exception:: InvalidStateError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue