diff options
author | Christian Heimes <christian@cheimes.de> | 2008-01-03 23:05:47 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-01-03 23:05:47 +0000 |
commit | 41fc7d8caba67e7847ab3a2739a91a67f3a26046 (patch) | |
tree | 2258cf1ae520a8c4e61792a289fdf87ba9b50d15 /Parser | |
parent | 97246976f0de6b4904d4966864bbf0799993fe18 (diff) | |
download | cpython-41fc7d8caba67e7847ab3a2739a91a67f3a26046.tar.gz |
More PyImport_ImportModule -> PyImport_ImportModuleNoBlock
Diffstat (limited to 'Parser')
-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 d17da2aa0b..79ed87da01 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; |