any
any(iterable)
Returns true if any element of the iterable is true. Equivalent to:
def any(iterable): for element in iterable: if element: return True return False
New in version 2.5.
any(iterable)
Returns true if any element of the iterable is true. Equivalent to:
def any(iterable): for element in iterable: if element: return True return False
New in version 2.5.
this page was rendered by a django application in 0.02s 2010-03-16 14:10:04.222341. hosted by webfaction.