summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-01-03 23:05:47 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-01-03 23:05:47 (GMT)
commit819b8bf403f19017f9e7ea11cd83699b517f3394 (patch)
tree4dd4375104b5d3f1a9acb3c45909f04330240295 /Parser
parent072c0f1b7e3d83dec98313bc07ae92ed15fe7e6d (diff)
downloadcpython-819b8bf403f19017f9e7ea11cd83699b517f3394.zip
cpython-819b8bf403f19017f9e7ea11cd83699b517f3394.tar.gz
cpython-819b8bf403f19017f9e7ea11cd83699b517f3394.tar.bz2
More PyImport_ImportModule -> PyImport_ImportModuleNoBlock
Diffstat (limited to 'Parser')
-rw-r--r--Parser/tokenizer.c2
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;