bs4.Doctype.setup

Doctype.setup(parent=None, previous_element=None, next_element=None, previous_sibling=None, next_sibling=None)

Sets up the initial relations between this element and other elements.