aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/importdl.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/importdl.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/importdl.c')
-rw-r--r--Python/importdl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/importdl.c b/Python/importdl.c
index 87c44891407..73fedc4ba5f 100644
--- a/Python/importdl.c
+++ b/Python/importdl.c
@@ -4,7 +4,8 @@
#include "Python.h"
#include "pycore_call.h" // _PyObject_CallMethod()
#include "pycore_import.h" // _PyImport_SwapPackageContext()
-#include "pycore_importdl.h" // struct _Py_ext_module_loader_info
+#include "pycore_importdl.h"
+#include "pycore_moduleobject.h" // _PyModule_GetDef()
#include "pycore_moduleobject.h" // _PyModule_GetDef()
#include "pycore_pyerrors.h" // _PyErr_FormatFromCause()
#include "pycore_runtime.h" // _Py_ID()