summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Shadchin <alexandr.shadchin@gmail.com>2023-01-02 11:13:55 (GMT)
committerGitHub <noreply@github.com>2023-01-02 11:13:55 (GMT)
commit254ab42240e0b18caedd4d5c3f45440bdaebf157 (patch)
tree48faeb7bb4c9861c79163f578adf76b81eed33f6
parentedfbf56f4ca6588dfd20b53f534a4465e43c82bd (diff)
downloadcpython-254ab42240e0b18caedd4d5c3f45440bdaebf157.zip
cpython-254ab42240e0b18caedd4d5c3f45440bdaebf157.tar.gz
cpython-254ab42240e0b18caedd4d5c3f45440bdaebf157.tar.bz2
Fix deprecation doc for `PyEval_InitThreads` (#100667)
-rw-r--r--Doc/c-api/init.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index afb1771..ad06616 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()