detach

topleveltools.detach(prototype, component_expression=None)

Detaches from component_expression all items matching prototype.

Returns tuple of zero or more detached items.