Skip to content
Prev Previous commit
Next Next commit
nit
  • Loading branch information
corona10 committed Feb 2, 2024
commit 16c72bfa2b2f843694652983be0aebd843479976
10 changes: 0 additions & 10 deletions Objects/tupleobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -964,16 +964,6 @@ _PyTuple_Resize(PyObject **pv, Py_ssize_t newsize)

static void maybe_freelist_clear(_PyFreeListState *, int);

void
_PyTuple_Fini(PyInterpreterState *Py_UNUSED(interp))
{
// With Py_GIL_DISABLED:
// the freelists for the current thread state have already been cleared.
#ifndef Py_GIL_DISABLED
_PyFreeListState *state = _PyFreeListState_GET();
maybe_freelist_clear(state, 1);
#endif
}

void
_PyTuple_ClearFreeList(_PyFreeListState *state, int is_finalization)
Expand Down