def pool_args(function, sequence, kwargs):
    """Return a single iterator of n elements of lists of length 3, given a sequence of len n."""
    return zip(itertools.repeat(function), sequence, itertools.repeat(kwargs))
def pool_args ( function , sequence , kwargs ) : return zip ( itertools . repeat ( function ) , sequence , itertools . repeat ( kwargs ) )
Return a single iterator of n elements of lists of length 3, given a sequence of len n.