New in version 1.1.
Reverse contents of container:
abjad> staff = Staff("c'8 d'8 e'8 f'8")
abjad> spannertools.BeamSpanner(staff.leaves[:2])
BeamSpanner(c'8, d'8)
abjad> spannertools.SlurSpanner(staff.leaves[2:])
SlurSpanner(e'8, f'8)
abjad> f(staff)
\new Staff {
c'8 [
d'8 ]
e'8 (
f'8 )
}
abjad> containertools.reverse_contents_of_container(staff)
Staff{4}
abjad> f(staff) # doctest: +SKIP
\new Staff {
f'8 (
e'8 )
d'8 [
c'8 ]
}
Return container.
Changed in version 2.0: renamed containertools.contents_reverse() to containertools.reverse_contents_of_container().