Doc: C API: PyThreadState::on_delete was removed in v3.13 (#126536)

This commit is contained in:
Richard Hansen 2024-11-20 03:44:45 -05:00 committed by GitHub
parent c9b399fbdb
commit 9bca3ef575
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)