Skip to content

Commit

Permalink
Doc: C API: PyThreadState::on_delete was removed in v3.13
Browse files Browse the repository at this point in the history
Just delete the note because `PyThreadState::on_delete` was not
officially public according to the documentation for `PyThreadState`.
  • Loading branch information
rhansen committed Nov 7, 2024
1 parent 75f7cf9 commit 197e5e7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Doc/c-api/init.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 197e5e7

Please sign in to comment.