[ python-Bugs-1763149 ] S.find documentation uses s[start, end] vs. s[start:end]
SourceForge.net
noreply at sourceforge.net
Sun Jul 29 17:46:03 CEST 2007
Bugs item #1763149, was opened at 2007-07-29 10:46
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1763149&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Feature Request
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Rob (rtirrell)
Assigned to: Nobody/Anonymous (nobody)
Summary: S.find documentation uses s[start, end] vs. s[start:end]
Initial Comment:
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1763149&group_id=5470
More information about the Python-bugs-list
mailing list