Roberto Bonvallet wrote:
> imho <[EMAIL PROTECTED]>:
>> map(lambda x:"" , [i for i in [a,b,c] if i in ("None",None) ])
> You don't need map when using list comprehensions:
> ["" for i in [a, b, c] if i in ("None", None)]
>
More like:
[(i, "")[i in ("None", None)] for i in [a,b,c]]
--
--Scott David Daniels
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
