spannertools.get_dominant_between

abjad.tools.spannertools.get_dominant_between(left, right)

Return Python list of (spanner, index) pairs. ‘left’ must be either an Abjad component or None. ‘right’ must be either an Abjad component or None.

If both ‘left’ and ‘right’ are components, then ‘left’ and ‘right’ must be thread-contiguous.

This is a special version of spannertools.get_dominant( ). This version is useful for finding spanners that dominant a zero-length ‘crack’ between components, as in t[2:2].

Previous topic

spannertools.get_dominant

Next topic

spannertools.get_dominant_slice

This Page