Skip to content

Commit b2e28c8

Browse files
gh-92871: Postpone the removal of typing.{io,re} to 3.13 (GH-98958)
(cherry picked from commit 65d1407) Co-authored-by: Sebastian Rittau <[email protected]>
1 parent 67f63b8 commit b2e28c8

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

@@ -2862,7 +2862,7 @@ convenience. This is subject to change, and not all deprecations are listed.
28622862
+----------------------------------+---------------+-------------------+----------------+
28632863
| Feature | Deprecated in | Projected removal | PEP/issue |
28642864
+==================================+===============+===================+================+
2865-
| ``typing.io`` and ``typing.re`` | 3.8 | 3.12 | :issue:`38291` |
2865+
| ``typing.io`` and ``typing.re`` | 3.8 | 3.13 | :issue:`38291` |
28662866
| submodules | | | |
28672867
+----------------------------------+---------------+-------------------+----------------+
28682868
| ``typing`` versions of standard | 3.9 | Undecided | :pep:`585` |

0 commit comments

Comments
 (0)