Skip to content

Commit

Permalink
Fix outdated comment in Include/cpython/object.h
Browse files Browse the repository at this point in the history
Updated the comment to follow the change 147cd05
  • Loading branch information
koyuki7w committed Jan 11, 2025
1 parent 553cdc6 commit bc5f4dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Include/cpython/object.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit bc5f4dc

Please sign in to comment.