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 | 819b8bf403f19017f9e7ea11cd83699b517f3394 (patch) | |
tree | 4dd4375104b5d3f1a9acb3c45909f04330240295 /Python/codecs.c | |
parent | 072c0f1b7e3d83dec98313bc07ae92ed15fe7e6d (diff) | |
download | cpython-git-819b8bf403f19017f9e7ea11cd83699b517f3394.tar.gz |
More PyImport_ImportModule -> PyImport_ImportModuleNoBlock
Diffstat (limited to 'Python/codecs.c')
-rw-r--r-- | Python/codecs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/codecs.c b/Python/codecs.c index 5a0e4884db..86941b1bdf 100644 --- a/Python/codecs.c +++ b/Python/codecs.c @@ -850,7 +850,7 @@ static int _PyCodecRegistry_Init(void) interp->codec_error_registry == NULL) Py_FatalError("can't initialize codec registry"); - mod = PyImport_ImportModuleLevel("encodings", NULL, NULL, NULL, 0); + mod = PyImport_ImportModuleNoBlock("encodings"); if (mod == NULL) { if (PyErr_ExceptionMatches(PyExc_ImportError)) { /* Ignore ImportErrors... this is done so that |