gh-94309: "What's new in Python 3.12": improve deprecation notice for typing.Hashable and typing.Sized (GH-112196)
(cherry picked from commit
fb4cddb0cc6c9b94929f846da8e95aeec3849212)
Co-authored-by: Ori Avtalion <ori@avtalion.name>
* :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.