Skip to content

Commit 65d1407

Browse files
authored
gh-92871: Postpone the removal of typing.{io,re} to 3.13 (#98958)
1 parent 50a9b03 commit 65d1407

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/typing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2009,7 +2009,7 @@ Other concrete types
20092009
represent the types of I/O streams such as returned by
20102010
:func:`open`.
20112011

2012-
.. deprecated-removed:: 3.8 3.12
2012+
.. deprecated-removed:: 3.8 3.13
20132013
The ``typing.io`` namespace is deprecated and will be removed.
20142014
These types should be directly imported from ``typing`` instead.
20152015

@@ -2023,7 +2023,7 @@ Other concrete types
20232023
``Pattern[str]``, ``Pattern[bytes]``, ``Match[str]``, or
20242024
``Match[bytes]``.
20252025

2026-
.. deprecated-removed:: 3.8 3.12
2026+
.. deprecated-removed:: 3.8 3.13
20272027
The ``typing.re`` namespace is deprecated and will be removed.
20282028
These types should be directly imported from ``typing`` instead.
20292029

@@ -2868,7 +2868,7 @@ convenience. This is subject to change, and not all deprecations are listed.
28682868
+----------------------------------+---------------+-------------------+----------------+
28692869
| Feature | Deprecated in | Projected removal | PEP/issue |
28702870
+==================================+===============+===================+================+
2871-
| ``typing.io`` and ``typing.re`` | 3.8 | 3.12 | :issue:`38291` |
2871+
| ``typing.io`` and ``typing.re`` | 3.8 | 3.13 | :issue:`38291` |
28722872
| submodules | | | |
28732873
+----------------------------------+---------------+-------------------+----------------+
28742874
| ``typing`` versions of standard | 3.9 | Undecided | :pep:`585` |

0 commit comments

Comments
 (0)