Ted Lemon added the comment:
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
New submission from Ted Lemon:
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