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