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 @@ -1390,6 +1390,13 @@ subclasses with the :func:`runtime_checkable` decorator
13901390if they want runtime protocols.
13911391(Contributed by Yurii Karabas in :issue:`38908 ` )
13921392
1393+ Importing from the `` typing.io`` and `` typing.re`` submodules will now emit
1394+ :exc:`DeprecationWarning ` . These submodules have been deprecated since
1395+ Python 3.8 and will be removed in a future version of Python. Anything
1396+ belonging to those submodules should be imported directly from
1397+ :mod:`typing` instead.
1398+ (Contributed by Sebastian Rittau in :issue:`38291 ` )
1399+
13931400unittest
13941401--------
13951402
@@ -1692,6 +1699,12 @@ Deprecated
16921699 requires a :ref:`debug build of Python < debug- build> ` .
16931700 (Contributed by Victor Stinner in :issue:`44584 ` .)
16941701
1702+ * Importing from the `` typing.io`` and `` typing.re`` submodules will now emit
1703+ :exc:`DeprecationWarning ` . These submodules will be removed in a future version
1704+ of Python. Anything belonging to these submodules should be imported directly
1705+ from :mod:`typing` instead.
1706+ (Contributed by Sebastian Rittau in :issue:`38291 ` )
1707+
16951708.. _whatsnew310- removed:
16961709
16971710Removed
You can’t perform that action at this time.
0 commit comments