spannertools.get_dominant_slice

abjad.tools.spannertools.get_dominant_slice(container, start, stop)
Return Python list of (spanner, index) pairs. Each spanner dominates the components specified by slice with start index ‘start’ and stop index ‘stop’. Generalization of dominant spanner-finding functions for slices. This exists for slices like t[2:2] that are empty lists.

Previous topic

spannertools.get_dominant_between

Next topic

spannertools.give_attached_to_children

This Page