aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2025-03-20 12:35:23 +0100
committerGitHub <noreply@github.com>2025-03-20 11:35:23 +0000
commitb69da006a4f493f1eec0df413f81fbfc3e366783 (patch)
tree06f936be9f5434ec4c9f10c7c43f681042e4a853 /Python/sysmodule.c
parent34c1ea3109d750896bc27b575ebaec85a371d0ba (diff)
downloadcpython-b69da006a4f493f1eec0df413f81fbfc3e366783.tar.gz
cpython-b69da006a4f493f1eec0df413f81fbfc3e366783.zip
gh-131238: Remove includes from pycore_interp.h (#131495)
Remove also now unused includes in C files.
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 0fe9f894f05..664bf31e9ec 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -18,10 +18,10 @@ Data members:
#include "pycore_audit.h" // _Py_AuditHookEntry
#include "pycore_call.h" // _PyObject_CallNoArgs()
#include "pycore_ceval.h" // _PyEval_SetAsyncGenFinalizer()
-#include "pycore_dict.h" // _PyDict_GetItemWithError()
#include "pycore_frame.h" // _PyInterpreterFrame
#include "pycore_import.h" // _PyImport_SetDLOpenFlags()
#include "pycore_initconfig.h" // _PyStatus_EXCEPTION()
+#include "pycore_interpframe.h" // _PyFrame_GetFirstComplete()
#include "pycore_long.h" // _PY_LONG_MAX_STR_DIGITS_THRESHOLD
#include "pycore_modsupport.h" // _PyModule_CreateInitialized()
#include "pycore_namespace.h" // _PyNamespace_New()
@@ -36,7 +36,6 @@ Data members:
#include "pycore_pystats.h" // _Py_PrintSpecializationStats()
#include "pycore_structseq.h" // _PyStructSequence_InitBuiltinWithFlags()
#include "pycore_sysmodule.h" // export _PySys_GetSizeOf()
-#include "pycore_tuple.h" // _PyTuple_FromArray()
#include "pycore_unicodeobject.h" // _PyUnicode_InternImmortal()
#include "pydtrace.h" // PyDTrace_AUDIT()