summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c
index ef82439..edc960c 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -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;
}