diff options
Diffstat (limited to 'Objects/classobject.c')
-rw-r--r-- | Objects/classobject.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Objects/classobject.c b/Objects/classobject.c index 02d7cfd..1c44a47 100644 --- a/Objects/classobject.c +++ b/Objects/classobject.c @@ -2691,3 +2691,12 @@ PyMethod_Fini(void) { (void)PyMethod_ClearFreeList(); } + +/* Print summary info about the state of the optimized allocator */ +void +_PyMethod_DebugMallocStats(FILE *out) +{ + _PyDebugAllocatorStats(out, + "free PyMethodObject", + numfree, sizeof(PyMethodObject)); +} |