diff options
author | Christian Heimes <christian@cheimes.de> | 2008-01-03 23:05:47 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-01-03 23:05:47 (GMT) |
commit | 819b8bf403f19017f9e7ea11cd83699b517f3394 (patch) | |
tree | 4dd4375104b5d3f1a9acb3c45909f04330240295 /Parser/tokenizer.c | |
parent | 072c0f1b7e3d83dec98313bc07ae92ed15fe7e6d (diff) | |
download | cpython-819b8bf403f19017f9e7ea11cd83699b517f3394.zip cpython-819b8bf403f19017f9e7ea11cd83699b517f3394.tar.gz cpython-819b8bf403f19017f9e7ea11cd83699b517f3394.tar.bz2 |
More PyImport_ImportModule -> PyImport_ImportModuleNoBlock
Diffstat (limited to 'Parser/tokenizer.c')
-rw-r--r-- | Parser/tokenizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index d17da2a..79ed87d 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -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; |