summaryrefslogtreecommitdiffstats
path: root/Objects/moduleobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/moduleobject.c')
-rw-r--r--Objects/moduleobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/moduleobject.c b/Objects/moduleobject.c
index 6628fe9..7df5ce0 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);