sequencetools.partition_sequence_extended_to_counts_without_overhang

abjad.tools.sequencetools.partition_sequence_extended_to_counts_without_overhang.partition_sequence_extended_to_counts_without_overhang(sequence, counts)[source]

New in version 2.0.

Partition sequence extended to counts without overhang:

abjad> from abjad.tools import sequencetools
abjad> sequencetools.partition_sequence_extended_to_counts_without_overhang([1, 2, 3, 4], [6, 6, 6])
[[1, 2, 3, 4, 1, 2], [3, 4, 1, 2, 3, 4], [1, 2, 3, 4, 1, 2]]

Return new object of sequence type.

This Page