summaryrefslogtreecommitdiffstats
path: root/Python/tracemalloc.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-09-06 13:56:08 (GMT)
committerGitHub <noreply@github.com>2023-09-06 13:56:08 (GMT)
commitb298b395e8ab1725c4f0dd736155b8c818664d42 (patch)
tree7946296ed34254283f71a70004b06fe7a7d2c30d /Python/tracemalloc.c
parent14d6e197cc56e5256d501839a4e66e3864ab15f0 (diff)
downloadcpython-b298b395e8ab1725c4f0dd736155b8c818664d42.zip
cpython-b298b395e8ab1725c4f0dd736155b8c818664d42.tar.gz
cpython-b298b395e8ab1725c4f0dd736155b8c818664d42.tar.bz2
gh-108765: Cleanup #include in Python/*.c files (#108977)
Mention one symbol imported by each #include.
Diffstat (limited to 'Python/tracemalloc.c')
-rw-r--r--Python/tracemalloc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Python/tracemalloc.c b/Python/tracemalloc.c
index 7d294ea..19b64c6 100644
--- a/Python/tracemalloc.c
+++ b/Python/tracemalloc.c
@@ -2,11 +2,12 @@
#include "pycore_fileutils.h" // _Py_write_noraise()
#include "pycore_gc.h" // PyGC_Head
#include "pycore_hashtable.h" // _Py_hashtable_t
-#include "pycore_object.h" // _PyType_PreHeaderSize
+#include "pycore_object.h" // _PyType_PreHeaderSize()
#include "pycore_pymem.h" // _Py_tracemalloc_config
#include "pycore_runtime.h" // _Py_ID()
-#include "pycore_traceback.h"
+#include "pycore_traceback.h" // _Py_DumpASCII()
#include <pycore_frame.h>
+
#include "frameobject.h" // _PyInterpreterFrame_GetLine
#include <stdlib.h> // malloc()