def rotate(self):
        self._index -= 1
        if self._index >= 0:
            return self._ring[self._index]
        return None
Rotate the kill ring, then yank back the new top.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/frontend/qt/console/kill_ring.py/KillRing.rotate