original_docstring: If in attribute completion, the object on which attribute should be
      looked up.
docstring: If in attribute completion, the object on which attribute should be
  looked up.
docstring_tokens: If in attribute completion the object on which attribute should be looked up .
code: def current_object(cursor_offset: int, line: str) -> Optional[LinePart]:
      """If in attribute completion, the object on which attribute should be
      looked up."""
      match = current_word(cursor_offset, line)
      if match is None:
          return None
      start, end, word = match
      s = ".".join(
          m.group(1)
          for m in _current_object_re.finditer(word)
          if m.end(1) + start < cursor_offset
      )
      if not s:
          return None
      return LinePart(start, start + len(s), s)
code_tokens: def current_object ( cursor_offset : int , line : str ) -> Optional [ LinePart ] : match = current_word ( cursor_offset , line ) if match is None : return None start , end , word = match s = "." . join ( m . group ( 1 ) for m in _current_object_re . finditer ( word ) if m . end ( 1 ) + start < cursor_offset ) if not s : return None return LinePart ( start , start + len ( s ) , s )
short_docstring: If in attribute completion, the object on which attribute should be
  looked up.
short_docstring_tokens: If in attribute completion the object on which attribute should be looked up .
comment: """If in attribute completion, the object on which attribute should be
      looked up."""