parameters: (self, parent=None, previous=None)
docstring: Sets up the initial relations between this element and
          other elements.
docstring_summary: Sets up the initial relations between this element and
          other elements.
docstring_tokens: Sets up the initial relations between this element and other elements .
function: def setup(self, parent=None, previous=None):
          """Sets up the initial relations between this element and
          other elements."""        
          self.parent = parent
          self.previous = previous
          self.next = None
          self.previousSibling = None
          self.nextSibling = None
          if self.parent and self.parent.contents:
              self.previousSibling = self.parent.contents[-1]
              self.previousSibling.nextSibling = self
function_tokens: def setup ( self , parent = None , previous = None ) : self . parent = parent self . previous = previous self . next = None self . previousSibling = None self . nextSibling = None if self . parent and self . parent . contents : self . previousSibling = self . parent . contents [ - 1 ] self . previousSibling . nextSibling = self