mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-111968: Refactor _PyXXX_Fini to integrate with _PyObject_ClearFreeLists (gh-114899)
This commit is contained in:
parent
564385612c
commit
d4d5bae147
20 changed files with 38 additions and 107 deletions
|
@ -964,11 +964,6 @@ _PyTuple_Resize(PyObject **pv, Py_ssize_t newsize)
|
|||
|
||||
static void maybe_freelist_clear(_PyFreeListState *, int);
|
||||
|
||||
void
|
||||
_PyTuple_Fini(_PyFreeListState *state)
|
||||
{
|
||||
maybe_freelist_clear(state, 1);
|
||||
}
|
||||
|
||||
void
|
||||
_PyTuple_ClearFreeList(_PyFreeListState *state, int is_finalization)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue