]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] gh-92871: Postpone the removal of typing.{io,re} to 3.13 (GH-98958) (#98986)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Wed, 2 Nov 2022 09:12:37 +0000 (02:12 -0700)
committerGitHub <noreply@github.com>
Wed, 2 Nov 2022 09:12:37 +0000 (09:12 +0000)
[3.10] gh-92871: Postpone the removal of typing.{io,re} to 3.13 (GH-98958).
(cherry picked from commit 65d1407737befc3e9430eda8ae14ab1c7f9d8c7a)

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Doc/library/typing.rst

index 7a93b875c742df6aca2c79f04cfe79392c19a94f..d415f149027f195384e52ef4223060969712771d 100644 (file)
@@ -1710,7 +1710,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.
 
@@ -1724,7 +1724,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.