]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-94309: "What's new in Python 3.12": improve deprecation notice for typing.Hashable...
authorOri Avtalion <ori@avtalion.name>
Fri, 17 Nov 2023 12:30:47 +0000 (14:30 +0200)
committerGitHub <noreply@github.com>
Fri, 17 Nov 2023 12:30:47 +0000 (12:30 +0000)
Doc/whatsnew/3.12.rst

index 72277a023b3b2ef57304a5727db2d9d897e8a2d8..8b7a043d068e5cd14effadee5a1e8a3c1bb1a6c8 100644 (file)
@@ -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.