Skip to content

Commit

Permalink
[3.13] Doc: C API: PyThreadState::on_delete was removed in v3.13 (p…
Browse files Browse the repository at this point in the history
…ythonGH-126536) (python#127053)

Doc: C API: `PyThreadState::on_delete` was removed in v3.13 (pythonGH-126536)
(cherry picked from commit 9bca3ef)

Co-authored-by: Richard Hansen <[email protected]>
miss-islington and rhansen authored Nov 20, 2024

Unverified

This user has not yet uploaded their public signing key.
1 parent bb98a0a commit fd9c2a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Doc/c-api/init.rst
Original file line number Diff line number Diff line change
@@ -1332,6 +1332,9 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
This function now calls the :c:member:`PyThreadState.on_delete` callback.
Previously, that happened in :c:func:`PyThreadState_Delete`.
.. versionchanged:: 3.13
The :c:member:`PyThreadState.on_delete` callback was removed.
.. c:function:: void PyThreadState_Delete(PyThreadState *tstate)

0 comments on commit fd9c2a3

Please sign in to comment.