flatten

compas.itertools.flatten(list_of_lists)[source]

Flatten one level of nesting.

Parameters:
list_of_listsiterable[iterable[Any]]

An iterable object containing other iterable objects.

Returns:
iterable

An iterable containing the elements of the elements of the nested iterables.