File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 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
14011401if they want runtime protocols.
14021402(Contributed by Yurii Karabas in :issue:`38908 ` )
14031403
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+
14041411unittest
14051412--------
14061413
@@ -1696,6 +1703,12 @@ Deprecated
16961703 requires a :ref:`debug build of Python < debug- build> ` .
16971704 (Contributed by Victor Stinner in :issue:`44584 ` .)
16981705
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+
16991712.. _whatsnew310- removed:
17001713
17011714Removed
You can’t perform that action at this time.
0 commit comments