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 <rep...@bugs.python.org> <http://bugs.python.org/issue29018> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com