code: def rotate(self):
          
          self._index -= 1
          if self._index >= 0:
              return self._ring[self._index]
          return None
docs: Rotate the kill ring, then yank back the new top.
  
          Returns
          -------
          A text string or None.