At Tuesday 24/10/2006 04:35, Cameron Walsh wrote:

> c = set(B)
> a.sort(key=c.__contains__, reverse=True)
>
> Tim Delaney

Depressingly simple.  I like it.

...and fast!


--
Gabriel Genellina
Softlab SRL
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to