From fd9c2a372704ae07654ca9841261834b0738757a Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Wed, 20 Nov 2024 09:51:19 +0100 Subject: [PATCH] [3.13] Doc: C API: `PyThreadState::on_delete` was removed in v3.13 (GH-126536) (#127053) Doc: C API: `PyThreadState::on_delete` was removed in v3.13 (GH-126536) (cherry picked from commit 9bca3ef575a088d3330a2743e36423aa5f7bdad8) Co-authored-by: Richard Hansen --- Doc/c-api/init.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 39eb7fe439449a..48e24e64cd08d8 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -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)