slice notation as values?

Antoon Pardon apardon at forel.vub.ac.be
Fri Dec 9 06:38:02 EST 2005


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.'):

-- 
Antoon Pardon



More information about the Python-list mailing list