macpie.lltools.make_same_length#
- macpie.lltools.make_same_length(*seqs, fillvalue=None)#
Make sequences the same length, filling any shorter lists with
fillvalue
to make them equal-sized.- Parameters:
- seqsSequences
- fillvalueoptional, default: None
Value to fill missing items with (if
seqs
are of uneven length.)
- Returns:
- Iterator
An iterator that yields the resulting sequences.