Issue 1092240: slice [0:] default is len-1 not len (original) (raw)

Issue1092240

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:08 admin set github: 41372
2004-12-28 15:59:19 smoothpodengo create