diff options
Diffstat (limited to 'Python/import.c')
-rw-r--r-- | Python/import.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/import.c b/Python/import.c index 19e975a593..141124830a 100644 --- a/Python/import.c +++ b/Python/import.c @@ -2653,7 +2653,9 @@ PyObject * PyImport_ImportModuleNoBlock(const char *name) { PyObject *nameobj, *modules, *result; +#ifdef WITH_THREAD long me; +#endif /* Try to get the module from sys.modules[name] */ modules = PyImport_GetModuleDict(); |