Fix deprecation doc for PyEval_InitThreads (GH-100667)

(cherry picked from commit 254ab42240)

Co-authored-by: Alexander Shadchin <alexandr.shadchin@gmail.com>
This commit is contained in:
Miss Islington (bot) 2023-01-02 03:21:20 -08:00 committed by GitHub
parent af136e9877
commit 1bc0705e64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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