diff --git a/Include/cpython/object.h b/Include/cpython/object.h index e4797029da431e..3154cb5305b0c1 100644 --- a/Include/cpython/object.h +++ b/Include/cpython/object.h @@ -469,12 +469,11 @@ passed as second argument to Py_TRASHCAN_BEGIN(). PyAPI_FUNC(int) _PyTrash_begin(PyThreadState *tstate, PyObject *op); PyAPI_FUNC(void) _PyTrash_end(PyThreadState *tstate); +/* Python 3.13 private API, invoked by the Py_TRASHCAN_BEGIN(). */ PyAPI_FUNC(void) _PyTrash_thread_deposit_object(PyThreadState *tstate, PyObject *op); PyAPI_FUNC(void) _PyTrash_thread_destroy_chain(PyThreadState *tstate); -/* Python 3.10 private API, invoked by the Py_TRASHCAN_BEGIN(). */ - /* To avoid raising recursion errors during dealloc trigger trashcan before we reach * recursion limit. To avoid trashing, we don't attempt to empty the trashcan until * we have headroom above the trigger limit */