From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 2 Jan 2023 11:21:20 +0000 (-0800) Subject: Fix deprecation doc for `PyEval_InitThreads` (GH-100667) X-Git-Tag: v3.11.2~109 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1bc0705e643f69cdfe18e79d6c2692d00cabcb86;p=thirdparty%2FPython%2Fcpython.git Fix deprecation doc for `PyEval_InitThreads` (GH-100667) (cherry picked from commit 254ab42240e0b18caedd4d5c3f45440bdaebf157) Co-authored-by: Alexander Shadchin --- diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 55c05096ae91..a59667c4a95b 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()