mirror of
https://github.com/python/cpython.git
synced 2025-10-13 10:23:28 +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;
|
PyObject *result;
|
||||||
lock_import();
|
lock_import();
|
||||||
result = import_module_ex(name, globals, lock_import, fromlist);
|
result = import_module_ex(name, globals, locals, fromlist);
|
||||||
unlock_import();
|
unlock_import();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue