summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_pystate.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-21 18:05:59 (GMT)
committerGitHub <noreply@github.com>2023-08-21 18:05:59 (GMT)
commit0dd3fc2a640b273979f94299b545e1e40ac0633c (patch)
treea4b5b46c3f05711137686f70363bd4592b49b7ea /Include/internal/pycore_pystate.h
parentb16ecb88e70d696a93ce993661973330baeafee1 (diff)
downloadcpython-0dd3fc2a640b273979f94299b545e1e40ac0633c.zip
cpython-0dd3fc2a640b273979f94299b545e1e40ac0633c.tar.gz
cpython-0dd3fc2a640b273979f94299b545e1e40ac0633c.tar.bz2
gh-108216: Cleanup #include in internal header files (#108228)
* Add missing includes. * Remove unused includes. * Update old include/symbol names to newer names. * Mention at least one included symbol. * Sort includes. * Update Tools/cases_generator/generate_cases.py used to generated pycore_opcode_metadata.h. * Update Parser/asdl_c.py used to generate pycore_ast.h. * Cleanup also includes in _testcapimodule.c and _testinternalcapi.c.
Diffstat (limited to 'Include/internal/pycore_pystate.h')
-rw-r--r--Include/internal/pycore_pystate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_pystate.h b/Include/internal/pycore_pystate.h
index acc6cf9..f6ca910 100644
--- a/Include/internal/pycore_pystate.h
+++ b/Include/internal/pycore_pystate.h
@@ -8,7 +8,7 @@ extern "C" {
# error "this header requires Py_BUILD_CORE define"
#endif
-#include "pycore_runtime.h" /* PyRuntimeState */
+#include "pycore_runtime.h" // _PyRuntime
/* Check if the current thread is the main thread.