def setstate(self, state):
        version = state[0]
        if version == 1:
            version, self._seed, self.gauss_next = state
        else:
            raise ValueError("state with version %s passed to "
                             "Random.setstate() of version %s" %
                             (version, self.VERSION))
Restore internal state from object returned by getstate().
dataset/ETHPy150Open babble/babble/include/jython/Lib/random.py/WichmannHill.setstate