]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Doc: C API: `PyThreadState::on_delete` was removed in v3.13 (GH-126536) (...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 20 Nov 2024 08:51:19 +0000 (09:51 +0100)
committerGitHub <noreply@github.com>
Wed, 20 Nov 2024 08:51:19 +0000 (08:51 +0000)
Doc: C API: `PyThreadState::on_delete` was removed in v3.13 (GH-126536)
(cherry picked from commit 9bca3ef575a088d3330a2743e36423aa5f7bdad8)

Co-authored-by: Richard Hansen <rhansen@rhansen.org>
Doc/c-api/init.rst

index 39eb7fe439449ae44d525fb101f18370419afbb9..48e24e64cd08d8dc1f77bbab1c0d4f5527815ad4 100644 (file)
@@ -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)