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

miss-islington webhook-mailer at python.org
Mon Jan 2 06:21:25 EST 2023


https://github.com/python/cpython/commit/1bc0705e643f69cdfe18e79d6c2692d00cabcb86
commit: 1bc0705e643f69cdfe18e79d6c2692d00cabcb86
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-01-02T03:21:20-08:00
summary:

Fix deprecation doc for `PyEval_InitThreads` (GH-100667)

(cherry picked from commit 254ab42240e0b18caedd4d5c3f45440bdaebf157)

Co-authored-by: Alexander Shadchin <alexandr.shadchin at gmail.com>

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

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()



More information about the Python-checkins mailing list