bs4.Tag.setup

Tag.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.