[docs] A typo. An index, not a index in the last line copies here from 3. Informal intro...
Qi Chen
chenat31 at yahoo.com
Tue May 26 07:29:07 CEST 2015
For non-negative indices, the length of a slice is the difference of the indices, if both are within bounds. For example, the length of word[1:3] is 2.
Attempting to use a index that is too large will result in an error:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20150526/9421292d/attachment-0001.html>
More information about the docs
mailing list