@@ -1454,6 +1454,10 @@ threading
14541454typing
14551455------
14561456
1457+ * :class: `typing.ByteString ` has been removed from ``typing.__all__ ``.
1458+ :class: `!typing.ByteString ` has been deprecated since Python 3.9, and is
1459+ scheduled for removal in Python 3.17.
1460+
14571461.. _whatsnew315-typeform :
14581462
14591463* :pep: `747 `: Add :data: `~typing.TypeForm `, a new special form for annotating
@@ -1496,24 +1500,6 @@ typing
14961500 as it was incorrectly inferred in runtime before.
14971501 (Contributed by Nikita Sobolev in :gh: `137191 `.)
14981502
1499- * :class: `typing.ByteString ` has been removed from ``typing.__all__ ``.
1500- :class: `!typing.ByteString ` has been deprecated since Python 3.9, and is
1501- scheduled for removal in Python 3.17.
1502-
1503- * The following statements now cause ``DeprecationWarning ``\ s to be emitted at
1504- runtime:
1505-
1506- * ``from typing import ByteString ``
1507- * ``import typing; typing.ByteString ``.
1508-
1509- ``DeprecationWarning ``\ s were already emitted if :class: `typing.ByteString `
1510- was subclassed or used as the second argument to :func: `isinstance ` or
1511- :func: `issubclass `, but warnings were not previously emitted if it was merely
1512- imported or accessed from the :mod: `!typing ` module.
1513-
1514- * Deprecated :func: `!typing.no_type_check_decorator ` has been removed.
1515- (Contributed by Nikita Sobolev in :gh: `133601 `.)
1516-
15171503
15181504wave
15191505----
@@ -1610,6 +1596,22 @@ New deprecations
16101596
16111597 (Contributed by Sergey B Kirpichev and Serhiy Storchaka in :gh: `143715 `.)
16121598
1599+ * :mod: `typing `:
1600+
1601+ * The following statements now cause ``DeprecationWarning ``\ s to be emitted
1602+ at runtime:
1603+
1604+ * ``from typing import ByteString ``
1605+ * ``import typing; typing.ByteString ``.
1606+
1607+ ``DeprecationWarning ``\ s were already emitted if :class: `typing.ByteString `
1608+ was subclassed or used as the second argument to :func: `isinstance ` or
1609+ :func: `issubclass `, but warnings were not previously emitted if it was
1610+ merely imported or accessed from the :mod: `!typing ` module.
1611+
1612+ * Deprecated :func: `!typing.no_type_check_decorator ` has been removed.
1613+ (Contributed by Nikita Sobolev in :gh: `133601 `.)
1614+
16131615* ``__version__ ``
16141616
16151617 * The ``__version__ ``, ``version `` and ``VERSION `` attributes have been
0 commit comments