Slicing [N::-1]

Terry Reedy tjreedy at udel.edu
Fri Mar 5 16:46:23 EST 2010


On 3/5/2010 2:10 PM, Robert Kern wrote:

> Rather, they have 0 and len(seq), respectively, when the step is
> positive, and len(seq)-1 and -1 when the step is negative.

>> I don't believe the actual behaviour is documented anywhere.
>
> True, I don't think it is.

There are at least two open issues.

http://bugs.python.org/issue1446619
http://bugs.python.org/issue7460






More information about the Python-list mailing list