def flatten_list(list_):
    """
    Flatten list.

    Turn list of lists into a list of all elements.
    [[1], [2, 3]] -> [1, 2, 3]
    """
    return [item for sublist in list_ for item in sublist]