summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-03-18 10:16:55 (GMT)
committerGitHub <noreply@github.com>2022-03-18 10:16:55 (GMT)
commit2217462bda1865a047d358306088682ee6a091ed (patch)
treec72f6a5a3920b320336119d819dc1d9a896dcb13 /Objects
parentd7a93cbf4b0d2d4eb8dbda3eb67d31a7cf4decf8 (diff)
downloadcpython-2217462bda1865a047d358306088682ee6a091ed.zip
cpython-2217462bda1865a047d358306088682ee6a091ed.tar.gz
cpython-2217462bda1865a047d358306088682ee6a091ed.tar.bz2
bpo-45786: Remove _PyFrame_Fini() and _PyFrame_DebugMallocStats() (GH-31874)
Remove private empty _PyFrame_Fini() and _PyFrame_DebugMallocStats() functions.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/frameobject.c11
-rw-r--r--Objects/object.c1
2 files changed, 0 insertions, 12 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c
index eb7fdb3..73b6c3d 100644
--- a/Objects/frameobject.c
+++ b/Objects/frameobject.c
@@ -1034,17 +1034,6 @@ PyFrame_LocalsToFast(PyFrameObject *f, int clear)
_PyFrame_LocalsToFast(f->f_frame, clear);
}
-void
-_PyFrame_Fini(PyInterpreterState *interp)
-{
-}
-
-/* Print summary info about the state of the optimized allocator */
-void
-_PyFrame_DebugMallocStats(FILE *out)
-{
-}
-
PyCodeObject *
PyFrame_GetCode(PyFrameObject *frame)
diff --git a/Objects/object.c b/Objects/object.c
index f029a72..33dab5e 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -2118,7 +2118,6 @@ _PyObject_DebugTypeStats(FILE *out)
{
_PyDict_DebugMallocStats(out);
_PyFloat_DebugMallocStats(out);
- _PyFrame_DebugMallocStats(out);
_PyList_DebugMallocStats(out);
_PyTuple_DebugMallocStats(out);
}