Kaydet (Commit) 29dc381c authored tarafından Marc-André Lemburg's avatar Marc-André Lemburg

Michael Hudson <mwh21@cam.ac.uk>:

The error message refers to "append", yet the operation in
question is "concat".
üst c3fd45fe
...@@ -362,7 +362,7 @@ tupleconcat(a, bb) ...@@ -362,7 +362,7 @@ tupleconcat(a, bb)
PyTupleObject *np; PyTupleObject *np;
if (!PyTuple_Check(bb)) { if (!PyTuple_Check(bb)) {
PyErr_Format(PyExc_TypeError, 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); bb->ob_type->tp_name);
return NULL; return NULL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment