(self)
Recursively destroys the contents of this tree.
Recursively destroys the contents of this tree.
Recursively destroys the contents of this tree .
def decompose(self):
        """Recursively destroys the contents of this tree."""
        self.extract()
        i = self
        while i is not None:
            next = i.next_element
            i.__dict__.clear()
            i.contents = []
            i = next
def decompose ( self ) : self . extract ( ) i = self while i is not None : next = i . next_element i . __dict__ . clear ( ) i . contents = [ ] i = next