From: Richard Hansen Date: Wed, 20 Nov 2024 08:44:45 +0000 (-0500) Subject: Doc: C API: `PyThreadState::on_delete` was removed in v3.13 (#126536) X-Git-Tag: v3.14.0a3~283 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9bca3ef575a088d3330a2743e36423aa5f7bdad8;p=thirdparty%2FPython%2Fcpython.git Doc: C API: `PyThreadState::on_delete` was removed in v3.13 (#126536) --- diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 6e881590131c..24d876d1f355 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -1379,6 +1379,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)