summaryrefslogtreecommitdiff
path: root/Python/importdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/importdl.c')
-rw-r--r--Python/importdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/importdl.c b/Python/importdl.c
index 40b37d2a3e..157257ff9e 100644
--- a/Python/importdl.c
+++ b/Python/importdl.c
@@ -577,7 +577,7 @@ _PyImport_LoadDynamicModule(name, pathname, fp)
#endif
if (p == NULL) {
PyErr_Format(PyExc_ImportError,
- "dynamic module does not define init function (%s)",
+ "dynamic module does not define init function (%.200s)",
funcname);
return NULL;
}