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 rhettinger
Recipients Devin Jeanpierre, rhettinger
Date 2015-01-08.09:46:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Try something like this:

        if start < 0:
            start += len(self)
        if stop is None:
            stop = len(self)
        elif stop < 0:
            stop += len(self)
        for i in range(max(start, 0), min(stop, len(self))):
            if self[i] == value:
                return i
        raise ValueError
Date User Action Args
2015-01-08 09:46:16rhettingersetrecipients: + rhettinger, Devin Jeanpierre
2015-01-08 09:46:16rhettingersetmessageid: <>
2015-01-08 09:46:16rhettingerlinkissue23086 messages
2015-01-08 09:46:16rhettingercreate