bs4.ProcessingInstruction.extract

ProcessingInstruction.extract()

Destructively rips this element out of the tree.