diff options
author | Victor Stinner <vstinner@python.org> | 2025-03-17 11:32:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-17 11:32:43 (GMT) |
commit | 978e37bb5f979cccce36613637ac2d94b43c71b2 (patch) | |
tree | 52f7eb072bacae81a0ab7a20f8875f5c01861124 /Python/symtable.c | |
parent | 0453e494b6e23c876c1bb097966f2c68ec72fada (diff) | |
download | cpython-978e37bb5f979cccce36613637ac2d94b43c71b2.zip cpython-978e37bb5f979cccce36613637ac2d94b43c71b2.tar.gz cpython-978e37bb5f979cccce36613637ac2d94b43c71b2.tar.bz2 |
gh-131238: Add explicit includes to pycore headers (#131257)
Diffstat (limited to 'Python/symtable.c')
-rw-r--r-- | Python/symtable.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/symtable.c b/Python/symtable.c index 4d6384f..9e2c0fb 100644 --- a/Python/symtable.c +++ b/Python/symtable.c @@ -2,7 +2,12 @@ #include "pycore_ast.h" // stmt_ty #include "pycore_parser.h" // _PyParser_ASTFromString() #include "pycore_pystate.h" // _PyThreadState_GET() +#include "pycore_runtime.h" // _Py_ID() #include "pycore_symtable.h" // PySTEntryObject +#include "pycore_unicodeobject.h" // _PyUnicode_EqualToASCIIString() + +#include <stddef.h> // offsetof() + // Set this to 1 to dump all symtables to stdout for debugging #define _PY_DUMP_SYMTABLE 0 |