summaryrefslogtreecommitdiffstats
path: root/Python/traceback.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2025-03-20 11:35:23 (GMT)
committerGitHub <noreply@github.com>2025-03-20 11:35:23 (GMT)
commitb69da006a4f493f1eec0df413f81fbfc3e366783 (patch)
tree06f936be9f5434ec4c9f10c7c43f681042e4a853 /Python/traceback.c
parent34c1ea3109d750896bc27b575ebaec85a371d0ba (diff)
downloadcpython-b69da006a4f493f1eec0df413f81fbfc3e366783.zip
cpython-b69da006a4f493f1eec0df413f81fbfc3e366783.tar.gz
cpython-b69da006a4f493f1eec0df413f81fbfc3e366783.tar.bz2
gh-131238: Remove includes from pycore_interp.h (#131495)
Remove also now unused includes in C files.
Diffstat (limited to 'Python/traceback.c')
-rw-r--r--Python/traceback.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/Python/traceback.c b/Python/traceback.c
index 07a7ca8..ff6f9b9 100644
--- a/Python/traceback.c
+++ b/Python/traceback.c
@@ -2,14 +2,11 @@
/* Traceback implementation */
#include "Python.h"
-
-#include "pycore_ast.h" // asdl_seq_GET()
#include "pycore_call.h" // _PyObject_CallMethodFormat()
#include "pycore_fileutils.h" // _Py_BEGIN_SUPPRESS_IPH
-#include "pycore_frame.h" // _PyFrame_GetCode()
+#include "pycore_frame.h" // PyFrameObject
#include "pycore_interp.h" // PyInterpreterState.gc
-#include "pycore_parser.h" // _PyParser_ASTFromString
-#include "pycore_pyarena.h" // _PyArena_Free()
+#include "pycore_interpframe.h" // _PyFrame_GetCode()
#include "pycore_pyerrors.h" // _PyErr_GetRaisedException()
#include "pycore_pystate.h" // _PyThreadState_GET()
#include "pycore_sysmodule.h" // _PySys_GetOptionalAttr()