bs4.BeautifulSoup.setup

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