Fahri Basegmez wrote:
> reduce(lambda x, y: x or y, lst)

This doesn't solve the OPs problem since

 >>> reduce(lambda x, y: x or y, [False, None])

returns None instead of False.

Mick.

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

Reply via email to