RAIMAD

raimad.flatten

def flatten(iterable: collections.abc.Iterable[typing.Any]) -> collections.abc.Iterable[typing.Any]:

Recursively flatten a nested iterable.