diff options
author | Victor Stinner <vstinner@python.org> | 2023-08-21 18:05:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-21 18:05:59 (GMT) |
commit | 0dd3fc2a640b273979f94299b545e1e40ac0633c (patch) | |
tree | a4b5b46c3f05711137686f70363bd4592b49b7ea /Parser/asdl_c.py | |
parent | b16ecb88e70d696a93ce993661973330baeafee1 (diff) | |
download | cpython-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 'Parser/asdl_c.py')
-rwxr-xr-x | Parser/asdl_c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index 1733cd4..bf14487 100755 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py @@ -1585,7 +1585,7 @@ def write_header(mod, metadata, f): # error "this header requires Py_BUILD_CORE define" #endif - #include "pycore_asdl.h" + #include "pycore_asdl.h" // _ASDL_SEQ_HEAD """).lstrip()) |