Skip to content
Snippets Groups Projects
Unverified Commit 6d4d4ec5 authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub
Browse files

Fix format string in _PyImport_LoadDynamicModuleWithSpec() (GH-28863)


(cherry picked from commit f79f3b41)

Co-authored-by: default avatarSerhiy Storchaka <storchaka@gmail.com>
parent 0cd5bf91
No related branches found
No related tags found
No related merge requests found
......@@ -207,7 +207,7 @@ _PyImport_LoadDynamicModuleWithSpec(PyObject *spec, FILE *fp)
/* don't allow legacy init for non-ASCII module names */
PyErr_Format(
PyExc_SystemError,
"initialization of * did not return PyModuleDef",
"initialization of %s did not return PyModuleDef",
name_buf);
goto error;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment