detach

topleveltools.detach(prototype, component_expression=None)

Detaches prototype indicators from component_expression.

Detaches articulations from first note in staff:

>>> staff = Staff("c'4 d' e' f'")
>>> attach(Articulation('>'), staff[0])
>>> show(staff) 
>>> detach(Articulation, staff[0])
(Articulation('>'),)
>>> show(staff) 

Returns tuple of zero or more detached items.