Gabriel Genellina wrote:


L = filter('a'.__ne__,L)

And this is probably the fastest. But not all types define __ne__

In Py3, all classes inherit .__ne__ from 'object'.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to