From 924ac6436ab7123f1ac7770ac77fe0530a8874bd Mon Sep 17 00:00:00 2001 From: Alexander Shadchin Date: Mon, 2 Jan 2023 14:13:55 +0300 Subject: [PATCH] Fix deprecation doc for `PyEval_InitThreads` (GH-100667) (cherry picked from commit 254ab42240e0b18caedd4d5c3f45440bdaebf157) Co-authored-by: Alexander Shadchin --- Doc/c-api/init.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 55c05096ae91d0..a59667c4a95bdc 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -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()