mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Merge 3.2: Remove unused variable if Python is build without threads
This commit is contained in:
commit
22d80bcf1b
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue