From bc5f4dc86add704840cee46aba304f0f632751c3 Mon Sep 17 00:00:00 2001 From: Yuki Kobayashi Date: Wed, 18 Dec 2024 11:14:29 +0000 Subject: [PATCH] Fix outdated comment in `Include/cpython/object.h` Updated the comment to follow the change 147cd0581e35a10204776029aeaa7fa1901056bc --- Include/cpython/object.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 */