[docs] [issue29018] Misinformation when showing how slices work in The Tutorial
R. David Murray
report at bugs.python.org
Mon Dec 19 16:55:01 EST 2016
R. David Murray added the comment:
If your version was correct, 'python'[-2:] would produce 'n', which is not what it produces. Perhaps you being confused by the fact that the diagram is pointing the indexes *between* the characters? That's the point of the mnemonic and I find it very useful to think of it that way, myself.
----------
nosy: +r.david.murray
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29018>
_______________________________________
More information about the docs
mailing list