summaryrefslogtreecommitdiffstats
path: root/Python/suggestions.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/suggestions.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/suggestions.c')
-rw-r--r--Python/suggestions.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/Python/suggestions.c b/Python/suggestions.c
index 12097f7..9247da4 100644
--- a/Python/suggestions.c
+++ b/Python/suggestions.c
@@ -1,10 +1,9 @@
#include "Python.h"
+#include "pycore_code.h" // _PyCode_GetVarnames()
#include "pycore_frame.h"
-#include "pycore_runtime.h" // _PyRuntime
-#include "pycore_global_objects.h" // _Py_ID()
+#include "pycore_pyerrors.h" // export _Py_UTF8_Edit_Cost()
+#include "pycore_runtime.h" // _Py_ID()
-#include "pycore_pyerrors.h"
-#include "pycore_code.h" // _PyCode_GetVarnames()
#include "stdlib_module_names.h" // _Py_stdlib_module_names
#define MAX_CANDIDATE_ITEMS 750