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
Date 2015-08-20.02:34:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440038088.25.0.955584919768.issue24898@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for str.find() on python.org, for all current versions, says:

Return the lowest index in the string where substring sub is found, such that sub is contained in the slice s[start:end]. Optional arguments start and end are interpreted as in slice notation. Return -1 if sub is not found.

I think that what is meant here is this:

Return the lowest index in a string s where substring sub is found, such that if a is the returned index, and b == a + len(sub), sub is contained in the slice s[a:b]. Optional arguments start and end are interpreted as in slice notation. Return -1 if sub is not found.
History
Date User Action Args
2015-08-20 02:34:48Ted Lemonsetrecipients: + Ted Lemon, docs@python
2015-08-20 02:34:48Ted Lemonsetmessageid: <1440038088.25.0.955584919768.issue24898@psf.upfronthosting.co.za>
2015-08-20 02:34:48Ted Lemonlinkissue24898 messages
2015-08-20 02:34:47Ted Lemoncreate