Get the next line without consuming it.

def _peek_buffer(self, i=0):
        """Get the next line without consuming it."""
        while len(self._buffer) <= i:
            self._buffer.append(next(self._source))
        return self._buffer[i]