This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Retro
Recipients Retro
Date 2009-03-15.14:30:34
SpamBayes Score 2.2289623e-05
Marked as misclassified No
Message-id <1237127436.03.0.0963869402695.issue5495@psf.upfronthosting.co.za>
In-reply-to
Content
>>> t = (0, 1, 2, 3, 4, 5, 6, 7)
>>> t.index(8)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: tuple.index(x): x not in list

The error message "x not in list" should have been "x not in tuple".
Please fix the error message of the index method of the tuple type.
History
Date User Action Args
2009-03-15 14:30:36Retrosetrecipients: + Retro
2009-03-15 14:30:36Retrosetmessageid: <1237127436.03.0.0963869402695.issue5495@psf.upfronthosting.co.za>
2009-03-15 14:30:34Retrolinkissue5495 messages
2009-03-15 14:30:34Retrocreate