'Restore internal state from object returned by getstate().'

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)))
