summaryrefslogtreecommitdiffstats
path: root/Objects/floatobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/floatobject.c')
-rw-r--r--Objects/floatobject.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index c440e0d..9b322c5 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -2011,16 +2011,6 @@ _PyFloat_ClearFreeList(_PyFreeListState *freelist_state, int is_finalization)
}
void
-_PyFloat_Fini(_PyFreeListState *state)
-{
- // With Py_GIL_DISABLED:
- // the freelists for the current thread state have already been cleared.
-#ifndef Py_GIL_DISABLED
- _PyFloat_ClearFreeList(state, 1);
-#endif
-}
-
-void
_PyFloat_FiniType(PyInterpreterState *interp)
{
_PyStructSequence_FiniBuiltin(interp, &FloatInfoType);