We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

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.