code: def zremrangebyrank(self, key, start, stop):
          
          if not isinstance(start, int):
              raise TypeError("start argument must be int")
          if not isinstance(stop, int):
              raise TypeError("stop argument must be int")
          return self.execute(b'ZREMRANGEBYRANK', key, start, stop)
docs: Remove all members in a sorted set within the given indexes.
  
          :raises TypeError: if start is not int
          :raises TypeError: if stop is not int