[ python-Bugs-1092240 ] slice [0:] default is len-1 not len
SourceForge.net
noreply at sourceforge.net
Tue Dec 28 16:59:19 CET 2004
Bugs item #1092240, was opened at 2004-12-28 15:59
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=1092240&group_id=5470
Category: Documentation
Group: Python 2.3
Status: Open
Resolution: None
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.
----------------------------------------------------------------------
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