parameters: (self)
docstring: The node immediately following the invocant in their parent's children
          list. If the invocant does not have a next sibling, it is None
docstring_summary: The node immediately following the invocant in their parent's children
          list. If the invocant does not have a next sibling, it is None
docstring_tokens: The node immediately following the invocant in their parent s children list . If the invocant does not have a next sibling it is None
function: def next_sibling(self):
          """
          The node immediately following the invocant in their parent's children
          list. If the invocant does not have a next sibling, it is None
          """
          if self.parent is None:
              return None
  
          # Can't use index(); we need to test by identity
          for i, child in enumerate(self.parent.children):
              if child is self:
                  try:
                      return self.parent.children[i+1]
                  except IndexError:
                      return None
function_tokens: def next_sibling ( self ) : if self . parent is None : return None # Can't use index(); we need to test by identity for i , child in enumerate ( self . parent . children ) : if child is self : try : return self . parent . children [ i + 1 ] except IndexError : return None