sequencetools.partition_sequence_once_by_counts_with_overhang

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

New in version 1.1.

Partition sequence once by counts with overhang:

abjad> from abjad.tools import sequencetools
abjad> sequencetools.partition_sequence_once_by_counts_with_overhang(range(16), [4, 6])
[[0, 1, 2, 3], [4, 5, 6, 7, 8, 9], [10, 11, 12, 13, 14, 15]]

Return list of sequence objects.

Changed in version 2.0: renamed listtools.partition_sequence_once_by_counts_with_overhang() to sequencetools.partition_sequence_once_by_counts_with_overhang().

This Page