code: def seed(self, x=None, *args):
          
          if x is None:
              # Use same random seed code copied from Python's random.Random
              try:
                  x = long(_hexlify(_urandom(16)), 16)
              except NotImplementedError:
                  import time
                  x = long(time.time() * 256) # use fractional seconds
          elif not isinstance(x, _Integral):
              # Use the hash of the input seed object. Note this does not give
              # consistent results cross-platform--between Python versions or
              # between 32-bit and 64-bit systems.
              x = hash(x)
          self.rng_iterator.seed(x, *args, mix_extras=True)
docs: For consistent cross-platform seeding, provide an integer seed.