[Python-checkins] CVS: python/dist/src/Objects tupleobject.c,2.35,2.36
M.-A. Lemburg
python-dev@python.org
Fri, 16 Jun 2000 10:06:00 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory slayer.i.sourceforge.net:/tmp/cvs-serv8633/Objects
Modified Files:
tupleobject.c
Log Message:
Michael Hudson <mwh21@cam.ac.uk>:
The error message refers to "append", yet the operation in
question is "concat".
Index: tupleobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/tupleobject.c,v
retrieving revision 2.35
retrieving revision 2.36
diff -C2 -r2.35 -r2.36
*** tupleobject.c 2000/06/15 14:50:20 2.35
--- tupleobject.c 2000/06/16 17:05:57 2.36
***************
*** 363,367 ****
if (!PyTuple_Check(bb)) {
PyErr_Format(PyExc_TypeError,
! "can only append tuple (not \"%.200s\") to tuple",
bb->ob_type->tp_name);
return NULL;
--- 363,367 ----
if (!PyTuple_Check(bb)) {
PyErr_Format(PyExc_TypeError,
! "can only concatenate tuple (not \"%.200s\") to tuple",
bb->ob_type->tp_name);
return NULL;