code: def rename(self, key, newkey):
          
          if key == newkey:
              raise ValueError("key and newkey are the same")
          fut = self.execute(b'RENAME', key, newkey)
          return wait_ok(fut)
docs: Renames key to newkey.
  
          :raises ValueError: if key == newkey