[ python-Bugs-1763149 ] S.find documentation uses s[start, end] vs. s[start:end]

SourceForge.net noreply at sourceforge.net
Sun Jul 29 19:39:08 CEST 2007


Bugs item #1763149, was opened at 2007-07-29 15:46
Message generated for change (Comment added) made by gbrandl
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: Closed
>Resolution: Fixed
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.

----------------------------------------------------------------------

>Comment By: Georg Brandl (gbrandl)
Date: 2007-07-29 17:39

Message:
Logged In: YES 
user_id=849994
Originator: NO

I agree. Fixed in rev. 56620, 56619 (2.5).

----------------------------------------------------------------------

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