Misleading description of [i:j:k] slicing?

Christos TZOTZIOY Georgiou tzot at sil-tec.gr
Thu Aug 21 19:39:33 CEST 2003

On Thu, 21 Aug 2003 17:12:28 GMT, rumours say that Michael Hudson
<mwh at python.net> might have written:

>>   "The slice of s from i to j with step k is defined as the sequence
>>   of items with index x = i + n*k such that 0 <= n < abs(i-j). [...]"

Basically, it's 0 <= n < abs(i-j)//k, right?
TZOTZIOY, I speak England very best,
Microsoft Security Alert: the Matrix began as open source.

More information about the Python-list mailing list