mirror of https://github.com/python/cpython
Fix format string in _PyImport_LoadDynamicModuleWithSpec() (GH-28863)
This commit is contained in:
parent
d943d19172
commit
f79f3b41c8
|
@ -207,7 +207,7 @@ _PyImport_LoadDynamicModuleWithSpec(PyObject *spec, FILE *fp)
|
||||||
/* don't allow legacy init for non-ASCII module names */
|
/* don't allow legacy init for non-ASCII module names */
|
||||||
PyErr_Format(
|
PyErr_Format(
|
||||||
PyExc_SystemError,
|
PyExc_SystemError,
|
||||||
"initialization of * did not return PyModuleDef",
|
"initialization of %s did not return PyModuleDef",
|
||||||
name_buf);
|
name_buf);
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue