(self)
Extract all children.
Extract all children.
Extract all children .
def clear(self):
        """Extract all children."""
        for child in self.contents[:]:
            child.extract()
def clear ( self ) : for child in self . contents [ : ] : child . extract ( )