Misleading description of [i:j:k] slicing?
Christos TZOTZIOY Georgiou
tzot at sil-tec.gr
Thu Aug 21 13:39:33 EDT 2003
More information about the Python-list mailing list
Thu Aug 21 13:39:33 EDT 2003
- Previous message (by thread): configure: WARNING: term.h: present but cannot be compiled
- Next message (by thread): Misleading description of [i:j:k] slicing?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message (by thread): configure: WARNING: term.h: present but cannot be compiled
- Next message (by thread): Misleading description of [i:j:k] slicing?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list