diff options
author | Ori Avtalion <ori@avtalion.name> | 2023-11-17 12:30:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-17 12:30:47 (GMT) |
commit | fb4cddb0cc6c9b94929f846da8e95aeec3849212 (patch) | |
tree | 373bd0933e04899e643deecef9216dcb66ebf49c /Doc | |
parent | 0ee2d77331f2362fcaab20cc678530b18e467e3c (diff) | |
download | cpython-fb4cddb0cc6c9b94929f846da8e95aeec3849212.zip cpython-fb4cddb0cc6c9b94929f846da8e95aeec3849212.tar.gz cpython-fb4cddb0cc6c9b94929f846da8e95aeec3849212.tar.bz2 |
gh-94309: "What's new in Python 3.12": improve deprecation notice for typing.Hashable and typing.Sized (#112196)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.12.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 72277a0..8b7a043 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -1289,8 +1289,9 @@ Deprecated * :mod:`typing`: - * :class:`typing.Hashable` and :class:`typing.Sized` aliases for :class:`collections.abc.Hashable` - and :class:`collections.abc.Sized`. (:gh:`94309`.) + * :class:`typing.Hashable` and :class:`typing.Sized`, aliases for + :class:`collections.abc.Hashable` and :class:`collections.abc.Sized` respectively, are + deprecated. (:gh:`94309`.) * :class:`typing.ByteString`, deprecated since Python 3.9, now causes a :exc:`DeprecationWarning` to be emitted when it is used. |