code: def getline(self, lnum=None):
          
          return self._vim.current.buffer[lnum] if lnum else self._vim.current.line
docs: Get a line from the current buffer.
  
          Args:
              lnum (Optional[str]): Number of the line to get, current if ``None``.
  
          Todo:
              - Give this more behavior of Vim ``getline()``?
              - ``buffer[index]`` is zero-based, this is probably too confusing