import itertools


def concat(iterables):
    """Return iterables concatenated into one iterable.

    This is just a shortcut to itertools.chain.from_iterable.

    If you're only using this library for concat, consider
    using the itertools version instead.

    >>> list(concat([[1, 2, 3], [4, 5, 6]]))
    [1, 2, 3, 4, 5, 6]
    """
    return itertools.chain.from_iterable(iterables)