bs4.Tag.decompose

Tag.decompose()[source]

Recursively destroys the contents of this tree.