]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix deprecation doc for `PyEval_InitThreads` (GH-100667)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 Jan 2023 11:21:20 +0000 (03:21 -0800)
committerGitHub <noreply@github.com>
Mon, 2 Jan 2023 11:21:20 +0000 (03:21 -0800)
(cherry picked from commit 254ab42240e0b18caedd4d5c3f45440bdaebf157)

Co-authored-by: Alexander Shadchin <alexandr.shadchin@gmail.com>
Doc/c-api/init.rst

index 55c05096ae91d060189d66020b5e99906f0b6fd8..a59667c4a95bdc04c28e8d294a1ba79d99096ff0 100644 (file)
@@ -940,7 +940,7 @@ code, or when embedding the Python interpreter:
    .. versionchanged:: 3.2
       This function cannot be called before :c:func:`Py_Initialize()` anymore.
 
-   .. deprecated-removed:: 3.9 3.11
+   .. deprecated:: 3.9
 
    .. index:: module: _thread
 
@@ -954,7 +954,7 @@ code, or when embedding the Python interpreter:
    .. versionchanged:: 3.7
       The :term:`GIL` is now initialized by :c:func:`Py_Initialize()`.
 
-   .. deprecated-removed:: 3.9 3.11
+   .. deprecated:: 3.9
 
 
 .. c:function:: PyThreadState* PyEval_SaveThread()