summaryrefslogtreecommitdiff
path: root/Python/importdl.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-14 17:36:12 +0000
committerGuido van Rossum <guido@python.org>1997-05-14 17:36:12 +0000
commit417dc95bffff84bedd04841ff07974107d8441f3 (patch)
treef050dc2dfcacd9c04b33e153c0f231712ee48482 /Python/importdl.c
parent90f993f565c8e21e23dfff624494bf7142168f3b (diff)
downloadcpython-417dc95bffff84bedd04841ff07974107d8441f3.tar.gz
One last rename glitch: import_modules -> _PyImport_Modules.
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 33c0e5df0c..436a8de533 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,