def set(self, n, v):
        l = len(self.value)
        if n < 0 or n >= l:
            raise SchemeException("bytes-set!: index %s out of bounds for length %s"% (n, l))
        self.value[n] = chr(v)
dataset/ETHPy150Open samth/pycket/pycket/values.py/W_MutableBytes.set/original