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.02s 2010-09-02 15:09:20.935110. hosted by webfaction.