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:
Guido van Rossum 1998-03-03 22:33:27 +00:00
parent 986c100735
commit d65911b3f3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}