summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-10-12 07:20:04 (GMT)
committerGitHub <noreply@github.com>2021-10-12 07:20:04 (GMT)
commitf79f3b41c8c1360d4e0ae884a52d0a486974ca53 (patch)
tree797b1e370054ea5923be5c6e16e82dd2c9cb6818
parentd943d19172aa93ce88bade15b9f23a0ce3bc72ff (diff)
downloadcpython-f79f3b41c8c1360d4e0ae884a52d0a486974ca53.zip
cpython-f79f3b41c8c1360d4e0ae884a52d0a486974ca53.tar.gz
cpython-f79f3b41c8c1360d4e0ae884a52d0a486974ca53.tar.bz2
Fix format string in _PyImport_LoadDynamicModuleWithSpec() (GH-28863)
-rw-r--r--Python/importdl.c2
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;
}