diff options
author | Victor Stinner <vstinner@python.org> | 2025-03-20 11:35:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-20 11:35:23 (GMT) |
commit | b69da006a4f493f1eec0df413f81fbfc3e366783 (patch) | |
tree | 06f936be9f5434ec4c9f10c7c43f681042e4a853 /Python/traceback.c | |
parent | 34c1ea3109d750896bc27b575ebaec85a371d0ba (diff) | |
download | cpython-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.c | 7 |
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() |