summaryrefslogtreecommitdiff
path: root/Objects/object.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-06-22 21:13:34 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2012-06-22 21:13:34 +0200
commit5f6213be2d5890d7bc3ba62db58ac1ce0215aaaa (patch)
treee818110e6015c9666cac9d1d3107ca656719811a /Objects/object.c
parentf7338f65fb8bdb85c52dc54d06d003a82a06bbb3 (diff)
parent49526f48fc73d3ccdf09d466ed2d39a30e4df9b9 (diff)
downloadcpython-git-5f6213be2d5890d7bc3ba62db58ac1ce0215aaaa.tar.gz
Merge
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/Objects/object.c b/Objects/object.c
index 1211cc3154..f4c0208bd3 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -1852,6 +1852,18 @@ PyMem_Free(void *p)
PyMem_FREE(p);
}
+void
+_PyObject_DebugTypeStats(FILE *out)
+{
+ _PyCFunction_DebugMallocStats(out);
+ _PyDict_DebugMallocStats(out);
+ _PyFloat_DebugMallocStats(out);
+ _PyFrame_DebugMallocStats(out);
+ _PyList_DebugMallocStats(out);
+ _PyMethod_DebugMallocStats(out);
+ _PySet_DebugMallocStats(out);
+ _PyTuple_DebugMallocStats(out);
+}
/* These methods are used to control infinite recursion in repr, str, print,
etc. Container objects that may recursively contain themselves,