Slicing beyond list -- bug or featurette?

Greg Ewing greg.ewing at compaq.com
Wed Jul 7 23:29:04 EDT 1999


Konrad Hinsen wrote:
> 
>   Sequences also support slicing: a[i:j]selects all items with index k
>   such that i <=k < j.

That definition could apply to dictionaries,
too! Pity it doesn't...

Greg




More information about the Python-list mailing list