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
Title: S.find documentation uses s[start, end] vs. s[start:end]
Type: enhancement Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, rtirrell
Priority: normal Keywords:

Created on 2007-07-29 15:46 by rtirrell, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg32568 - (view) Author: Rob (rtirrell) Date: 2007-07-29 15:46
I think that s[start:end] in ''.find.__doc__ is more logical than s[start, end] in explaining what is searched when optional arguments for start and end of string to be searched are provided.  Maybe this is a convention I don't know about.
msg32569 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-07-29 17:39
I agree. Fixed in rev. 56620, 56619 (2.5).
History
Date User Action Args
2022-04-11 14:56:25adminsetgithub: 45254
2007-07-29 15:46:03rtirrellcreate