Skip to content

Commit 6d4d4ec

Browse files
Fix format string in _PyImport_LoadDynamicModuleWithSpec() (GH-28863)
(cherry picked from commit f79f3b4) Co-authored-by: Serhiy Storchaka <[email protected]>
1 parent 0cd5bf9 commit 6d4d4ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/importdl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ _PyImport_LoadDynamicModuleWithSpec(PyObject *spec, FILE *fp)
207207
/* don't allow legacy init for non-ASCII module names */
208208
PyErr_Format(
209209
PyExc_SystemError,
210-
"initialization of * did not return PyModuleDef",
210+
"initialization of %s did not return PyModuleDef",
211211
name_buf);
212212
goto error;
213213
}

0 commit comments

Comments
 (0)