diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-10-12 17:10:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-12 17:10:59 (GMT) |
commit | 854db7e82126701f2bf7a3ca0d78e3e26096aa75 (patch) | |
tree | e0abc22e4e079220c8e28ba71c02cd095a54b207 /Python/importdl.c | |
parent | 035ad8cf988b31a742ec006183a0ea673876d659 (diff) | |
download | cpython-854db7e82126701f2bf7a3ca0d78e3e26096aa75.zip cpython-854db7e82126701f2bf7a3ca0d78e3e26096aa75.tar.gz cpython-854db7e82126701f2bf7a3ca0d78e3e26096aa75.tar.bz2 |
Fix format string in _PyImport_LoadDynamicModuleWithSpec() (GH-28863)
(cherry picked from commit f79f3b41c8c1360d4e0ae884a52d0a486974ca53)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/importdl.c')
-rw-r--r-- | Python/importdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/importdl.c b/Python/importdl.c index 3d9cd1a..6d25547 100644 --- a/Python/importdl.c +++ b/Python/importdl.c @@ -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; } |