summaryrefslogtreecommitdiffstats
path: root/Objects/floatobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/floatobject.c')
-rw-r--r--Objects/floatobject.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index f8620d6..88f25d6 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -2082,6 +2082,14 @@ _PyFloat_Fini(PyInterpreterState *interp)
#endif
}
+void
+_PyFloat_FiniType(PyInterpreterState *interp)
+{
+ if (_Py_IsMainInterpreter(interp)) {
+ _PyStructSequence_FiniType(&FloatInfoType);
+ }
+}
+
/* Print summary info about the state of the optimized allocator */
void
_PyFloat_DebugMallocStats(FILE *out)