]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-92871: Postpone the removal of typing.{io,re} to 3.13 (#98958)
authorSebastian Rittau <srittau@rittau.biz>
Wed, 2 Nov 2022 03:51:45 +0000 (04:51 +0100)
committerGitHub <noreply@github.com>
Wed, 2 Nov 2022 03:51:45 +0000 (20:51 -0700)
Doc/library/typing.rst

index 8c8286059d531e6babd163476ea324808b371afc..0ec4499f94f5a7fa54f9947c8eefdb7391a6ce9c 100644 (file)
@@ -2009,7 +2009,7 @@ Other concrete types
    represent the types of I/O streams such as returned by
    :func:`open`.
 
-   .. deprecated-removed:: 3.8 3.12
+   .. deprecated-removed:: 3.8 3.13
       The ``typing.io`` namespace is deprecated and will be removed.
       These types should be directly imported from ``typing`` instead.
 
@@ -2023,7 +2023,7 @@ Other concrete types
    ``Pattern[str]``, ``Pattern[bytes]``, ``Match[str]``, or
    ``Match[bytes]``.
 
-   .. deprecated-removed:: 3.8 3.12
+   .. deprecated-removed:: 3.8 3.13
       The ``typing.re`` namespace is deprecated and will be removed.
       These types should be directly imported from ``typing`` instead.
 
@@ -2868,7 +2868,7 @@ convenience. This is subject to change, and not all deprecations are listed.
 +----------------------------------+---------------+-------------------+----------------+
 |  Feature                         | Deprecated in | Projected removal | PEP/issue      |
 +==================================+===============+===================+================+
-|  ``typing.io`` and ``typing.re`` | 3.8           | 3.12              | :issue:`38291` |
+|  ``typing.io`` and ``typing.re`` | 3.8           | 3.13              | :issue:`38291` |
 |  submodules                      |               |                   |                |
 +----------------------------------+---------------+-------------------+----------------+
 |  ``typing`` versions of standard | 3.9           | Undecided         | :pep:`585`     |