Andreas Müller:
> is there a construct like
> list.find (10, key='ID')

Given the current Python a syntax like this is more probable:

somelist.find(10, key=attrgetter('ID'))

Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to