summaryrefslogtreecommitdiffstats
path: root/Python/pystate.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/pystate.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/pystate.c')
-rw-r--r--Python/pystate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index 46ea2c4..b2b9b9f 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -6,10 +6,10 @@
#include "pycore_code.h" // stats
#include "pycore_dtoa.h" // _dtoa_state_INIT()
#include "pycore_frame.h"
-#include "pycore_initconfig.h"
+#include "pycore_initconfig.h" // _PyStatus_OK()
#include "pycore_object.h" // _PyType_InitCache()
-#include "pycore_pyerrors.h"
-#include "pycore_pylifecycle.h"
+#include "pycore_pyerrors.h" // _PyErr_Clear()
+#include "pycore_pylifecycle.h" // _PyAST_Fini()
#include "pycore_pymem.h" // _PyMem_SetDefaultAllocator()
#include "pycore_pystate.h"
#include "pycore_runtime_init.h" // _PyRuntimeState_INIT