all

all(iterable)

Return true if all elements of the iterable are true. Equivalent to:

def all(iterable):
    for element in iterable:
        if not element:
            return False
    return True

New in version 2.5.

 

A Django site. this page was rendered by a django application in 0.01s 2010-03-16 05:35:37.248509. hosted by webfaction.