From 197e5e7e20e41691f7fb341b5137ae346873bb85 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Thu, 7 Nov 2024 03:26:57 -0500 Subject: [PATCH] Doc: C API: `PyThreadState::on_delete` was removed in v3.13 Just delete the note because `PyThreadState::on_delete` was not officially public according to the documentation for `PyThreadState`. --- Doc/c-api/init.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 6e881590131cab..017e7d35cdf697 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -1375,10 +1375,6 @@ All of the following functions must be called after :c:func:`Py_Initialize`. Reset all information in a thread state object. The global interpreter lock must be held. - .. versionchanged:: 3.9 - This function now calls the :c:member:`PyThreadState.on_delete` callback. - Previously, that happened in :c:func:`PyThreadState_Delete`. - .. c:function:: void PyThreadState_Delete(PyThreadState *tstate)