def call_each(seq):
    'Calls each element of sequence to invoke the side effect.\n\n    Args:\n        seq:\n\n    Returns: None\n\n    '
    try:
        reduce((lambda _, y: y()), seq)
    except TypeError as e:
        if (text_type(e) != 'reduce() of empty sequence with no initial value'):
            raise
Calls each element of sequence to invoke the side effect.

Args:
    seq:

Returns: None
def call_each(seq):
    'Calls each element of sequence to invoke the side effect.\n\n    Args:\n        seq:\n\n    Returns: None\n\n    '
    try:
        reduce((lambda _, y: y()), seq)
    except TypeError as e:
        if (text_type(e) != 'reduce() of empty sequence with no initial value'):
            raise