def _switch_prev_buffer(self) -> None:
    if ((self._prev_bufnr == self._bufnr) or (self._vim.buffers[self._prev_bufnr].name == '')):
        self._vim.command('enew')
    else:
        self._vim.command(('buffer ' + str(self._prev_bufnr)))
def _switch_prev_buffer(self) -> None:
    if ((self._prev_bufnr == self._bufnr) or (self._vim.buffers[self._prev_bufnr].name == )):
        self._vim.command('enew')
    else:
        self._vim.command(('buffer ' + str(self._prev_bufnr)))