diff options
author | Mark Shannon <mark@hotpy.org> | 2025-03-17 14:41:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-17 14:41:05 (GMT) |
commit | a45f25361d582ce742fef7f23e7feadd19b67460 (patch) | |
tree | a1f01aa47d31890f34b63257270501c1e7dda872 /Python/compile.c | |
parent | bb0268f60dfe903a9bdb8d84104247a9318c6b18 (diff) | |
download | cpython-a45f25361d582ce742fef7f23e7feadd19b67460.zip cpython-a45f25361d582ce742fef7f23e7feadd19b67460.tar.gz cpython-a45f25361d582ce742fef7f23e7feadd19b67460.tar.bz2 |
GH-131238: More refactoring of core header files (GH-131351)
Adds new pycore_stats.h header file to help break dependencies involving the pycore_code.h header.
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c index a52183e..f5e2973 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -16,12 +16,13 @@ #include "Python.h" #include "pycore_ast.h" // PyAST_Check() -#include "pycore_code.h" // _PyCode_GetFreevars() +#include "pycore_code.h" #include "pycore_compile.h" #include "pycore_flowgraph.h" // _PyCfg_FromInstructionSequence() #include "pycore_pystate.h" // _Py_GetConfig() #include "pycore_runtime.h" // _Py_ID() #include "pycore_setobject.h" // _PySet_NextEntry() +#include "pycore_stats.h" #include "pycore_unicodeobject.h" // _PyUnicode_EqualToASCIIString() #include "cpython/code.h" |