File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -1401,6 +1401,13 @@ subclasses with the :func:`runtime_checkable` decorator
1401
1401
if they want runtime protocols.
1402
1402
(Contributed by Yurii Karabas in :issue:`38908 ` )
1403
1403
1404
+ Importing from the `` typing.io`` and `` typing.re`` submodules will now emit
1405
+ :exc:`DeprecationWarning ` . These submodules have been deprecated since
1406
+ Python 3.8 and will be removed in a future version of Python. Anything
1407
+ belonging to those submodules should be imported directly from
1408
+ :mod:`typing` instead.
1409
+ (Contributed by Sebastian Rittau in :issue:`38291 ` )
1410
+
1404
1411
unittest
1405
1412
--------
1406
1413
@@ -1696,6 +1703,12 @@ Deprecated
1696
1703
requires a :ref:`debug build of Python < debug- build> ` .
1697
1704
(Contributed by Victor Stinner in :issue:`44584 ` .)
1698
1705
1706
+ * Importing from the `` typing.io`` and `` typing.re`` submodules will now emit
1707
+ :exc:`DeprecationWarning ` . These submodules will be removed in a future version
1708
+ of Python. Anything belonging to these submodules should be imported directly
1709
+ from :mod:`typing` instead.
1710
+ (Contributed by Sebastian Rittau in :issue:`38291 ` )
1711
+
1699
1712
.. _whatsnew310- removed:
1700
1713
1701
1714
Removed
You can’t perform that action at this time.
0 commit comments