[ python-Bugs-1092240 ] slice [0:] default is len-1 not len
SourceForge.net
noreply at sourceforge.net
Tue Dec 28 20:15:59 CET 2004
Bugs item #1092240, was opened at 2004-12-28 16:59
Message generated for change (Settings changed) made by jlgijsbers
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1092240&group_id=5470
Category: Documentation
Group: Python 2.3
>Status: Closed
Resolution: Invalid
Priority: 5
Submitted By: Robert Phillips (smoothpodengo)
Assigned to: Nobody/Anonymous (nobody)
Summary: slice [0:] default is len-1 not len
Initial Comment:
In this url of my python 2.3 distribution, the tutorial
document,
section 3.1.2 needs this change.
Change: second index defaults to the size of the second
string being sliced.
To: second index defaults to the size of the second
string being sliced minus 1.
----------------------------------------------------------------------
Comment By: Robert Phillips (smoothpodengo)
Date: 2004-12-28 17:17
Message:
Logged In: YES
user_id=1186030
Please nochange this MR. I have seen the light.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1092240&group_id=5470
More information about the Python-bugs-list
mailing list