diff options
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r-- | Objects/stringobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 0a3155e297..74c4b5206e 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -691,7 +691,7 @@ string_concat(register PyStringObject *a, register PyObject *bb) return PyUnicode_Concat((PyObject *)a, bb); #endif PyErr_Format(PyExc_TypeError, - "cannot add type \"%.200s\" to string", + "cannot concatenate 'str' and '%.200s' objects", bb->ob_type->tp_name); return NULL; } |