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 bleuse
Recipients bleuse, docs@python
Date 2015-03-02.08:21:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425284476.5.0.408396499523.issue23559@psf.upfronthosting.co.za>
In-reply-to
Content
Reading the documentation for ranges (see https://docs.python.org/3.5/library/stdtypes.html#ranges), the example using a negative index output is inconsistent with the range effective behaviour.

One can read:
"
>>> r[-1]
18
"

while (in my understanding) it should be:
"
>>> r[-1]
8
"

Note the output should be 8 and not 18.

Raphaël
History
Date User Action Args
2015-03-02 08:21:16bleusesetrecipients: + bleuse, docs@python
2015-03-02 08:21:16bleusesetmessageid: <1425284476.5.0.408396499523.issue23559@psf.upfronthosting.co.za>
2015-03-02 08:21:16bleuselinkissue23559 messages
2015-03-02 08:21:16bleusecreate