diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-10-12 17:10:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-12 17:10:41 (GMT) |
commit | 6d4d4ec59f3e8cf633af882b386959ecbe1e0c54 (patch) | |
tree | 142be4e574d1089170c148d55b26b7f63ec58003 | |
parent | 0cd5bf919430755b4e2c08c0f2e42f74ae2f00ad (diff) | |
download | cpython-6d4d4ec59f3e8cf633af882b386959ecbe1e0c54.zip cpython-6d4d4ec59f3e8cf633af882b386959ecbe1e0c54.tar.gz cpython-6d4d4ec59f3e8cf633af882b386959ecbe1e0c54.tar.bz2 |
Fix format string in _PyImport_LoadDynamicModuleWithSpec() (GH-28863)
(cherry picked from commit f79f3b41c8c1360d4e0ae884a52d0a486974ca53)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
-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 7f600d4..134f668 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; } |