[Python-checkins] Fix deprecation doc for `PyEval_InitThreads` (#100667)

kumaraditya303 webhook-mailer at python.org
Mon Jan 2 06:14:01 EST 2023


https://github.com/python/cpython/commit/254ab42240e0b18caedd4d5c3f45440bdaebf157
commit: 254ab42240e0b18caedd4d5c3f45440bdaebf157
branch: main
author: Alexander Shadchin <alexandr.shadchin at gmail.com>
committer: kumaraditya303 <59607654+kumaraditya303 at users.noreply.github.com>
date: 2023-01-02T16:43:55+05:30
summary:

Fix deprecation doc for `PyEval_InitThreads` (#100667)

files:
M Doc/c-api/init.rst

diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index afb17719a77a..ad06616eeb0e 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -1049,7 +1049,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
 
@@ -1063,7 +1063,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()



More information about the Python-checkins mailing list