summaryrefslogtreecommitdiffstats
path: root/Include/Python.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-02 00:49:18 (GMT)
committerGitHub <noreply@github.com>2023-07-02 00:49:18 (GMT)
commitfeb51f3a6443d7c0148e2e7be2ed58b4c69fa265 (patch)
tree370ec2982ab329ad0159fe6b4ffdaea541984468 /Include/Python.h
parent18b1fdebe0cd5e601aa341227c13ec9d89bdf32c (diff)
downloadcpython-feb51f3a6443d7c0148e2e7be2ed58b4c69fa265.zip
cpython-feb51f3a6443d7c0148e2e7be2ed58b4c69fa265.tar.gz
cpython-feb51f3a6443d7c0148e2e7be2ed58b4c69fa265.tar.bz2
gh-106320: Remove private _PyTraceMalloc C API functions (#106324)
* Remove private _PyTraceMalloc C API functions: move them to the internal C API. * Don't export most of these functions anymore, but still export _PyTraceMalloc_GetTraceback() used by tests. * Rename Include/tracemalloc.h to Include/cpython/tracemalloc.h
Diffstat (limited to 'Include/Python.h')
-rw-r--r--Include/Python.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 183d07c..07f6c20 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -103,7 +103,7 @@
#include "pystrcmp.h"
#include "fileutils.h"
#include "cpython/pyfpe.h"
-#include "tracemalloc.h"
+#include "cpython/tracemalloc.h"
#include "cpython/optimizer.h"
#endif /* !Py_PYTHON_H */