2008-07-15: Selected articles now have experimental "comment" links in the left column and at the bottom. You're welcome to use them for commenting and voting on articles. For a bit more on this, see this page. /F

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.03s 2008-07-25 10:11:41.731420. hosted by webfaction.