aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/import.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2025-03-17 14:41:05 +0000
committerGitHub <noreply@github.com>2025-03-17 14:41:05 +0000
commita45f25361d582ce742fef7f23e7feadd19b67460 (patch)
treea1f01aa47d31890f34b63257270501c1e7dda872 /Python/import.c
parentbb0268f60dfe903a9bdb8d84104247a9318c6b18 (diff)
downloadcpython-a45f25361d582ce742fef7f23e7feadd19b67460.tar.gz
cpython-a45f25361d582ce742fef7f23e7feadd19b67460.zip
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/import.c')
-rw-r--r--Python/import.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/import.c b/Python/import.c
index 78b380ca6e5..690793edb80 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -8,6 +8,7 @@
#include "pycore_initconfig.h" // _PyStatus_OK()
#include "pycore_interp.h" // struct _import_runtime_state
#include "pycore_magic_number.h" // PYC_MAGIC_NUMBER_TOKEN
+#include "pycore_moduleobject.h" // _PyModule_GetDef()
#include "pycore_namespace.h" // _PyNamespace_Type
#include "pycore_object.h" // _Py_SetImmortal()
#include "pycore_pyerrors.h" // _PyErr_SetString()