summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-10-12 17:10:41 (GMT)
committerGitHub <noreply@github.com>2021-10-12 17:10:41 (GMT)
commit6d4d4ec59f3e8cf633af882b386959ecbe1e0c54 (patch)
tree142be4e574d1089170c148d55b26b7f63ec58003 /Python
parent0cd5bf919430755b4e2c08c0f2e42f74ae2f00ad (diff)
downloadcpython-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>
Diffstat (limited to 'Python')
-rw-r--r--Python/importdl.c2
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;
}