any() and all() on empty list?

Ron Adam rrr at ronadam.com
Thu Mar 30 06:09:13 EST 2006


Ron Adam wrote:
>
>      hasall(S, True, lambda n: n=42)
> 

That was suppose to be:

       hasall(S, True, lambda n: n==42)



More information about the Python-list mailing list