Skip to content

Commit 976488e

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 commit fb4cddb) Co-authored-by: Ori Avtalion <[email protected]>
1 parent 94bac1c commit 976488e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/whatsnew/3.12.rst

+3-2
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)