mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
Oops -- overuse of dabbrev-expand introduced a strange bug, where
instead of 'locals' I was passing 'lock_import' to import_module_ex().
This commit is contained in:
parent
986c100735
commit
d65911b3f3
1 changed files with 1 additions and 1 deletions
|
@ -1373,7 +1373,7 @@ PyImport_ImportModuleEx(name, globals, locals, fromlist)
|
|||
{
|
||||
PyObject *result;
|
||||
lock_import();
|
||||
result = import_module_ex(name, globals, lock_import, fromlist);
|
||||
result = import_module_ex(name, globals, locals, fromlist);
|
||||
unlock_import();
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue