diff options
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r-- | Objects/listobject.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c index 24eff76..38848bd 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -109,6 +109,15 @@ PyList_Fini(void) } } +/* Print summary info about the state of the optimized allocator */ +void +_PyList_DebugMallocStats(FILE *out) +{ + _PyDebugAllocatorStats(out, + "free PyListObject", + numfree, sizeof(PyListObject)); +} + PyObject * PyList_New(Py_ssize_t size) { |