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.

Author steven.daprano
Recipients docs@python, issuefinder, r.david.murray, steven.daprano
Date 2016-12-19.23:37:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1482190651.28.0.837724845307.issue29018@psf.upfronthosting.co.za>
In-reply-to
Content
You haven't given any reason to explain why you think the existing docs are wrong, nor any reason why you think your version is better. Just stating that the docs give "misinformation" is not good enough.

By your matrix, 'Python'[0:-1] should take a slice starting from the left of 'P' and ending at the *right* of 'n', returning 'Python' unchanged. According to the original, documented matrix, 'Python'[0:-1] takes a slice starting at the left of 'P' and ending at the *left* of 'n', returning 'Pytho'. without the n, which is what actually does happen.

You should also consider the slice 'Python'[-6:-5] according to the documented matrix (returns 'P') and your matrix (returns 'y').
History
Date User Action Args
2016-12-19 23:37:31steven.dapranosetrecipients: + steven.daprano, r.david.murray, docs@python, issuefinder
2016-12-19 23:37:31steven.dapranosetmessageid: <1482190651.28.0.837724845307.issue29018@psf.upfronthosting.co.za>
2016-12-19 23:37:31steven.dapranolinkissue29018 messages
2016-12-19 23:37:31steven.dapranocreate