Simon Forman wrote:
> >
> > False not in logflags
> >
>
> Or, if your values aren't already bools
>
> False not in (bool(n) for n in logflags)
> 
> 
> 
> Peace,
> ~Simon

Very intriguing use of "not in"...

Thanks,

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

Reply via email to