Silly question

Benjamin Kaplan benjamin.kaplan at case.edu
Thu Aug 20 20:36:35 CEST 2009


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.

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



More information about the Python-list mailing list