parameters: (self, state)
docstring: Restore internal state from object returned by getstate().
docstring_summary: Restore internal state from object returned by getstate().
docstring_tokens: Restore internal state from object returned by getstate () .
function: def setstate(self, state):
          """Restore internal state from object returned by getstate()."""
          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))
function_tokens: 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 ) )