Author mark.dickinson
Recipients anakha, mark.dickinson
Date 2008-06-20.10:52:58
SpamBayes Score 0.263844
Marked as misclassified No
Message-id <1213959179.05.0.336537781123.issue3004@psf.upfronthosting.co.za>
In-reply-to
Content
> 0 <= start <= stop <= length    if step is positive, and
> length-1 >= start >= stop >= -1 if step is negative.

That should be:

0 <= start <= length and 0 <= stop <= length  (step > 0), and
length-1 >= start >= -1, length-1 >= stop >= -1 (step < 0);

it's not guaranteed that start <= stop always holds in the first case,
or that start >= stop in the second.
History
Date User Action Args
2008-06-20 10:52:59mark.dickinsonsetspambayes_score: 0.263844 -> 0.263844
recipients: + mark.dickinson, anakha
2008-06-20 10:52:59mark.dickinsonsetspambayes_score: 0.263844 -> 0.263844
messageid: <1213959179.05.0.336537781123.issue3004@psf.upfronthosting.co.za>
2008-06-20 10:52:58mark.dickinsonlinkissue3004 messages
2008-06-20 10:52:58mark.dickinsoncreate