Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 12a9813)

Co-authored-by: Kristján Valur Jónsson <sweskman@gmail.com>
  • Loading branch information
kristjanvalur authored and miss-islington committed Jul 5, 2023
commit 1f51288ae79de506c05e273010ae90a7fcf5e258
2 changes: 1 addition & 1 deletion Doc/library/asyncio-exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down