Antoon Pardon wrote:
> Now slices are objects in python, I was wondering if slice
> notation will be usable outside subscribtion in the future.
> 
> Will it ever be possible to write things like:
> 
>   a = 4:9
>   for key, value in tree.items('alfa.': 'beta.'):
> 
Do you mean

   for key, value in tree.items()['alfa.': 'beta.']:

What would this mean?

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC                     www.holdenweb.com
PyCon TX 2006                  www.python.org/pycon/

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to