summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/listobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index 661a53b..922444e 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -389,8 +389,8 @@ list_concat(a, bb)
PyListObject *np;
if (!PyList_Check(bb)) {
PyErr_Format(PyExc_TypeError,
- "can only append list (not \"%.200s\") to list",
- bb->ob_type->tp_name);
+ "can only concatenate list (not \"%.200s\") to list",
+ bb->ob_type->tp_name);
return NULL;
}
#define b ((PyListObject *)bb)