Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitada22db

Browse files
[3.11] Clarify state of CancelledError in doc (GH-106453) (#106456)
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 commit12a9813)Co-authored-by: Kristján Valur Jónsson <sweskman@gmail.com>
1 parent3f244b2 commitada22db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Doc/library/asyncio-exceptions.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Exceptions
3131

3232
..versionchanged::3.8
3333

34-
:exc:`CancelledError` is now a subclass of:class:`BaseException`.
34+
:exc:`CancelledError` is now a subclass of:class:`BaseException` rather than:class:`Exception`.
3535

3636

3737
..exception::InvalidStateError

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp