summaryrefslogtreecommitdiffstats
path: root/Python/importdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/importdl.c')
-rw-r--r--Python/importdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/importdl.c b/Python/importdl.c
index 33c0e5d..436a8de 100644
--- a/Python/importdl.c
+++ b/Python/importdl.c
@@ -527,7 +527,7 @@ _PyImport_LoadDynamicModule(name, pathname, fp)
(*p)();
/* XXX Need check for err_occurred() here */
- m = PyDict_GetItemString(import_modules, name);
+ m = PyDict_GetItemString(_PyImport_Modules, name);
if (m == NULL) {
if (PyErr_Occurred() == NULL)
PyErr_SetString(PyExc_SystemError,