import itertools


def _flatten(l):
    """Return a flattened shallow list.

    Args:
      l : list of lists
    Returns:
      list - concatenation of sublists of l

    """

    return list(itertools.chain.from_iterable(l))