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: slice [0:] default is len-1 not len
Type: Stage:
Components: Documentation Versions: Python 2.3
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: smoothpodengo
Priority: normal Keywords:

Created on 2004-12-28 15:59 by smoothpodengo, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg23832 - (view) Author: Robert Phillips (smoothpodengo) Date: 2004-12-28 15:59
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.
msg23833 - (view) Author: Robert Phillips (smoothpodengo) Date: 2004-12-28 16:17
Logged In: YES 
user_id=1186030

Please nochange this MR. I have seen the light.
History
Date User Action Args
2022-04-11 14:56:08adminsetgithub: 41372
2004-12-28 15:59:19smoothpodengocreate