code: def zremrangebylex(self, key, min=b'-', max=b'+',
                         include_min=True, include_max=True):
          if not isinstance(min, bytes):
              raise TypeError("min argument must be bytes")
          if not isinstance(max, bytes):
              raise TypeError("max argument must be bytes")
          if not min == b'-':
              min = (b'[' if include_min else b'(') + min
          if not max == b'+':
              max = (b'[' if include_max else b'(') + max
          return self.execute(b'ZREMRANGEBYLEX', key, min, max)