mirror of
https://github.com/python/cpython.git
synced 2025-09-08 01:41:19 +00:00
One last rename glitch: import_modules -> _PyImport_Modules.
This commit is contained in:
parent
39d6ae7b6c
commit
af5dfb4ceb
3 changed files with 17 additions and 17 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue