def randint(self, a, b):
    return self.randrange(a, b + 1)

def randrange(self, start, stop=None, step=1, _int=int, _maxwidth=1 << BPF):
    istart = _int(start)
if istart != start:
    pass
Performance of choice vs randint