From: Jelle Zijlstra Date: Wed, 2 Nov 2022 09:12:37 +0000 (-0700) Subject: [3.10] gh-92871: Postpone the removal of typing.{io,re} to 3.13 (GH-98958) (#98986) X-Git-Tag: v3.10.9~92 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e07086db03d2dc1cd2e2a24f6c9c0ddd422b4cf0;p=thirdparty%2FPython%2Fcpython.git [3.10] gh-92871: Postpone the removal of typing.{io,re} to 3.13 (GH-98958) (#98986) [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 Co-authored-by: Sebastian Rittau --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 7a93b875c742..d415f149027f 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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.