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 /Python/codecs.c | |
| parent | 97246976f0de6b4904d4966864bbf0799993fe18 (diff) | |
| download | cpython-41fc7d8caba67e7847ab3a2739a91a67f3a26046.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 |
