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

Commit976488e

Browse files
[3.12]gh-94309: "What's new in Python 3.12": improve deprecation notice for typing.Hashable and typing.Sized (GH-112196) (#112200)
gh-94309: "What's new in Python 3.12": improve deprecation notice for typing.Hashable and typing.Sized (GH-112196)(cherry picked from commitfb4cddb)Co-authored-by: Ori Avtalion <ori@avtalion.name>
1 parent94bac1c commit976488e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎Doc/whatsnew/3.12.rst‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,8 +1289,9 @@ Deprecated
12891289

12901290
*:mod:`typing`:
12911291

1292-
*:class:`typing.Hashable` and:class:`typing.Sized` aliases for:class:`collections.abc.Hashable`
1293-
and:class:`collections.abc.Sized`. (:gh:`94309`.)
1292+
*:class:`typing.Hashable` and:class:`typing.Sized`, aliases for
1293+
:class:`collections.abc.Hashable` and:class:`collections.abc.Sized` respectively, are
1294+
deprecated. (:gh:`94309`.)
12941295

12951296
*:class:`typing.ByteString`, deprecated since Python 3.9, now causes a
12961297
:exc:`DeprecationWarning` to be emitted when it is used.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp