Piet van Oostrum <p...@cs.uu.nl> wrote:
> [myFunc(elt, 'booHoo') for elt in myList] is also a good candidate and
> in this case I think it is preferable to both the loop and the map with
> a partial or lambda in terms of clarity.

>From memory, a listcomp with a non-builtin function is also faster
than map with the same.

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

Reply via email to