Mercurial > cpython-lru_cache-weakref
diff Objects/tupleobject.c @ 12929:2eef636ba1b6 legacy-trunk
Michael Hudson <mwh21@cam.ac.uk>:
The error message refers to "append", yet the operation in
question is "concat".
| author | Marc-André Lemburg <mal@egenix.com> |
|---|---|
| date | Fri, 16 Jun 2000 17:05:57 +0000 |
| parents | 128e7b994505 |
| children | e615596c5c47 |
line wrap: on
line diff
--- a/Objects/tupleobject.c Thu Jun 15 22:41:48 2000 +0000 +++ b/Objects/tupleobject.c Fri Jun 16 17:05:57 2000 +0000 @@ -362,7 +362,7 @@ PyTupleObject *np; if (!PyTuple_Check(bb)) { PyErr_Format(PyExc_TypeError, - "can only append tuple (not \"%.200s\") to tuple", + "can only concatenate tuple (not \"%.200s\") to tuple", bb->ob_type->tp_name); return NULL; }
