Simpler mapping of lists

Sean 'Shaleh' Perry shalehperry at attbi.com
Tue Aug 20 12:58:13 EDT 2002


> 
> If you add the explicit self=self to __getattr__, and change the */**
> to apply, then this class should also work for those few, stubborn
> 1.5.2 users.
> 

you also need to exchange the list comprehension for a map() call.




More information about the Python-list mailing list