commit | 1706c644ae437071f3a207f0fe59f9ae4e6404f4 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sun Mar 15 14:38:55 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sun Mar 15 14:38:55 2009 +0000 |
tree | 26509a881b391c2810ef8c2194eb7786dd356659 | |
parent | 8eba5ed0d9e1b62b7b1276fcf7b323e39aacd9d5 [diff] |
fix tuple.index() error message #5495
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index d7cb25a..74d392a 100644 --- a/Objects/tupleobject.c +++ b/Objects/tupleobject.c
@@ -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; }