def _all_combinations(tpl):
    """
    Return all combinations of iterables passed as a parameter.
    :param tpl: Tuple of two iterable.
    :return: Generator of tuples.
    """
    for f in tpl[0]:
        for s in tpl[1]:
            yield f, s
