Silly question

David C Ullrich dullrich at sprynet.com
Thu Aug 20 15:33:05 EDT 2009


On Thu, 20 Aug 2009 14:36:35 -0400, Benjamin Kaplan wrote:

> On Thu, Aug 20, 2009 at 2:13 PM, David C Ullrich<dullrich at sprynet.com>
> wrote:
>> I just noticed that
>>
>>  sequence[i:j:k]
>>
>> syntax in a post here. When did this happen?
>>
>> (I'm just curious whether it existed in 1.5.x or not. If so I'm stupid
>> - otoh if it was introduced in 2.x I'm just slow...)
>>
>>
> Well, I got some good news and some bad news. According to the docs, it
> existed in 1.4 but the built-in sequences didn't support it until 2.3.
> It's not used that often anyway so you haven't been missing much.

So I'm slow, fine. (There were several times when I was using 1.5.3
and wished they were there - transposing matrices, etc.)

> 
> http://www.python.org/doc/2.3.5/whatsnew/section-slices.html




More information about the Python-list mailing list