More PyImport_ImportModule -> PyImport_ImportModuleNoBlock

This commit is contained in:
Christian Heimes 2008-01-03 23:05:47 +00:00
parent 072c0f1b7e
commit 819b8bf403
4 changed files with 5 additions and 5 deletions

View file

@ -452,7 +452,7 @@ fp_setreadl(struct tok_state *tok, const char* enc)
{
PyObject *readline = NULL, *stream = NULL, *io = NULL;
io = PyImport_ImportModule("io");
io = PyImport_ImportModuleNoBlock("io");
if (io == NULL)
goto cleanup;