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 /Modules/_testcapimodule.c | |
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 'Modules/_testcapimodule.c')
-rw-r--r-- | Modules/_testcapimodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 35599f8..a7a98d1 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -18,8 +18,8 @@ #undef NDEBUG #include "Python.h" -#include "frameobject.h" // PyFrame_New -#include "marshal.h" // PyMarshal_WriteLongToFile +#include "frameobject.h" // PyFrame_New() +#include "marshal.h" // PyMarshal_WriteLongToFile() #include <float.h> // FLT_MAX #include <signal.h> @@ -37,7 +37,7 @@ #endif #ifdef bool -# error "The public headers should not include <stdbool.h>, see bpo-46748" +# error "The public headers should not include <stdbool.h>, see gh-48924" #endif // Several parts of this module are broken out into files in _testcapi/. |