summaryrefslogtreecommitdiffstats
path: root/Python/specialize.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/specialize.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/specialize.c')
-rw-r--r--Python/specialize.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/specialize.c b/Python/specialize.c
index a794f14..aa40b33 100644
--- a/Python/specialize.c
+++ b/Python/specialize.c
@@ -4,14 +4,14 @@
#include "pycore_code.h"
#include "pycore_descrobject.h" // _PyMethodWrapper_Type
-#include "pycore_dict.h"
+#include "pycore_dict.h" // DICT_KEYS_UNICODE
#include "pycore_function.h" // _PyFunction_GetVersionForCurrentState()
-#include "pycore_global_strings.h" // _Py_ID()
-#include "pycore_long.h"
+#include "pycore_long.h" // _PyLong_IsNonNegativeCompact()
#include "pycore_moduleobject.h"
#include "pycore_object.h"
#include "pycore_opcode_metadata.h" // _PyOpcode_Caches
#include "pycore_pylifecycle.h" // _PyOS_URandomNonblock()
+#include "pycore_runtime.h" // _Py_ID()
#include <stdlib.h> // rand()