def _pmf(self, k, low, high):
        p = np.ones_like(k) / (high - low)
        return np.where((k >= low) & (k < high), p, 0.)
dataset/ETHPy150Open scipy/scipy/scipy/stats/_discrete_distns.py/randint_gen._pmf/original