parameters: (self)
return_statement: return prev_.value
docstring: Return name of the parent object if any.
  
          A parent object is identified by the first occuring dot.
docstring_summary: Return name of the parent object if any.
docstring_tokens: Return name of the parent object if any .
function: def get_parent_name(self):
          """Return name of the parent object if any.
  
          A parent object is identified by the first occuring dot.
          """
          dot = self.token_next_match(0, T.Punctuation, '.')
          if dot is None:
              return None
          prev_ = self.token_prev(self.token_index(dot))
          if prev_ is None:  # something must be verry wrong here..
              return None
          return prev_.value
function_tokens: def get_parent_name ( self ) : dot = self . token_next_match ( 0 , T . Punctuation , '.' ) if dot is None : return None prev_ = self . token_prev ( self . token_index ( dot ) ) if prev_ is None : # something must be verry wrong here.. return None return prev_ . value