Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f79f3b4

Browse files
Fix format string in _PyImport_LoadDynamicModuleWithSpec() (GH-28863)
1 parent d943d19 commit f79f3b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)