[Python-checkins] r70385 - python/trunk/Objects/tupleobject.c
benjamin.peterson
python-checkins at python.org
Sun Mar 15 15:38:55 CET 2009
Author: benjamin.peterson
Date: Sun Mar 15 15:38:55 2009
New Revision: 70385
Log:
fix tuple.index() error message #5495
Modified:
python/trunk/Objects/tupleobject.c
Modified: python/trunk/Objects/tupleobject.c
==============================================================================
--- python/trunk/Objects/tupleobject.c (original)
+++ python/trunk/Objects/tupleobject.c Sun Mar 15 15:38:55 2009
@@ -483,7 +483,7 @@
else if (cmp < 0)
return NULL;
}
- PyErr_SetString(PyExc_ValueError, "tuple.index(x): x not in list");
+ PyErr_SetString(PyExc_ValueError, "tuple.index(x): x not in tuple");
return NULL;
}
More information about the Python-checkins
mailing list