]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix format string in _PyImport_LoadDynamicModuleWithSpec() (GH-28863)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 12 Oct 2021 07:20:04 +0000 (10:20 +0300)
committerGitHub <noreply@github.com>
Tue, 12 Oct 2021 07:20:04 +0000 (10:20 +0300)
Python/importdl.c

index 3d9cd1ac8673cc05077318993c7b09c67f08069f..6d2554741f98220120c86db74a615d8b96e6936d 100644 (file)
@@ -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;
     }