Rebuild list of objects with redundancies on objects' attribute

2008-01-10 Thread Nico Grubert
Hi there I have a list of dummy objects which have the attributes 'location', 'name', 'gender'. Now I want to rebuild this list in order to avoid redundancies on objects with the same 'location'. Example: #-- class Dummy:

Re: Rebuild list of objects with redundancies on objects' attribute

2008-01-10 Thread Peter Otten
Nico Grubert wrote: Hi there I have a list of dummy objects which have the attributes 'location', 'name', 'gender'. Now I want to rebuild this list in order to avoid redundancies on objects with the same 'location'. Example: