[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Slicing ideas
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 2 Apr 2012 12:00:10 +0200
On Mon, Apr 2, 2012 at 11:47 AM, Rob Kendrick <rjek@rjek.com> wrote:
> foo = t[1, 2, 3] -> __slice(t, 1, 2, 3)
Just to check the intended meaning; t[1,2,3] gives you {t[1],t[2],t[3]} ?
Pythonic slices use ranges, rather than explicit sequences, so the
term 'slice' might be a bit confusing.
(And there's others who would think that t[i,j] is 2D array access)
steve d.