diff options
Diffstat (limited to 'Python')
-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 ec0daf3..f987cd1 100644 --- a/Python/codecs.c +++ b/Python/codecs.c @@ -38,7 +38,7 @@ int import_encodings(void) PyObject *mod; import_encodings_called = 1; - mod = PyImport_ImportModule("encodings"); + mod = PyImport_ImportModuleEx("encodings", NULL, NULL, NULL); if (mod == NULL) { if (PyErr_ExceptionMatches(PyExc_ImportError)) { /* Ignore ImportErrors... this is done so that |