Function braid
from raimad.iters
def braid(*iterables: collections.abc.Iterable[~T]) -> collections.abc.Iterable[~T]
Honestly no clue what this does. TODO document and test.
Click to show code
def braid(*iterables: Iterable[T]) -> Iterable[T]: """ Honestly no clue what this does. TODO document and test. """ return list(chain(*zip(*iterables)))