Issue 3570: str.find docstring typo - Python tracker

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.

classification
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: andyharrington, benjamin.peterson, georg.brandl
Priority: normal Keywords:

Created on 2008-08-16 21:22 by andyharrington, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg71240 - (view) Author: Andy Harrington (andyharrington) Date: 2008-08-16 21:22
When you enter help("".find)
you get
...
such that sub is contained within s[start,end]
...

s[start, end] makes no sense.  It should be s[start:end].
msg71285 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-08-17 17:22
This has been fixed in the trunk.