Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, source=None):
Reduce.__init__(self, lambda prev, v: prev and bool(v), True, source)
def __init__(self, source=None):
Reduce.__init__(self, max, -float('inf'), source)
def __init__(self, source=None):
Reduce.__init__(self, min, float('inf'), source)
def __init__(self, source=None):
Reduce.__init__(self, lambda prev, v: prev or bool(v), False, source)
def __init__(self, start=1, source=None):
Reduce.__init__(self, operator.mul, start, source)
def __init__(self, start=0, source=None):
Reduce.__init__(self, operator.add, start, source)