One last rename glitch: import_modules -> _PyImport_Modules.

This commit is contained in:
Guido van Rossum 1997-05-14 17:36:12 +00:00
parent 39d6ae7b6c
commit af5dfb4ceb
3 changed files with 17 additions and 17 deletions

View file

@ -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,