import itertools


def flatten(iterable):
    """Reduce dimensionality of iterable containing iterables

    Args:
        iterable: A multi-dimensional iterable

    Returns:
        A one dimensional iterable
    """

    return itertools.chain.from_iterable(iterable)