mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
More PyImport_ImportModule -> PyImport_ImportModuleNoBlock
This commit is contained in:
parent
072c0f1b7e
commit
819b8bf403
4 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue