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 Ted Lemon
Recipients Ted Lemon, docs@python, georg.brandl
Date 2015-08-20.14:54:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440082453.68.0.0405684939943.issue24898@psf.upfronthosting.co.za>
In-reply-to
Content
Hm, okay, that explains it.   I was previously mystified.  How about this as a refinement on your proposal, though:

Return the lowest index in the string where substring sub is found within the string.  Optional arguments start and end restrict the search to the slice of the string, s[start:end].  Returned index is relative to the beginning of the string, not the beginning of the slice. Return -1 if sub is not found.
History
Date User Action Args
2015-08-20 14:54:13Ted Lemonsetrecipients: + Ted Lemon, georg.brandl, docs@python
2015-08-20 14:54:13Ted Lemonsetmessageid: <1440082453.68.0.0405684939943.issue24898@psf.upfronthosting.co.za>
2015-08-20 14:54:13Ted Lemonlinkissue24898 messages
2015-08-20 14:54:13Ted Lemoncreate