slice notation as values?
steve at holdenweb.com
Fri Dec 9 13:04:51 CET 2005
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?
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.python.org/pycon/
More information about the Python-list