mirror of
https://github.com/python/cpython.git
synced 2025-09-18 14:40:43 +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)
|
PyImport_ImportModuleNoBlock(const char *name)
|
||||||
{
|
{
|
||||||
PyObject *nameobj, *modules, *result;
|
PyObject *nameobj, *modules, *result;
|
||||||
|
#ifdef WITH_THREAD
|
||||||
long me;
|
long me;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Try to get the module from sys.modules[name] */
|
/* Try to get the module from sys.modules[name] */
|
||||||
modules = PyImport_GetModuleDict();
|
modules = PyImport_GetModuleDict();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue