diff --git a/Objects/moduleobject.c b/Objects/moduleobject.c index 6628fe99364..7df5ce0b1ba 100644 --- a/Objects/moduleobject.c +++ b/Objects/moduleobject.c @@ -180,7 +180,7 @@ module_getattro(PyModuleObject *m, PyObject *name) } PyErr_Format(PyExc_AttributeError, "'%.50s' module has no attribute '%.400s'", - modname, name); + modname, sname); } else Py_INCREF(res);