# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ Module implements the Mersenne Twister random number generator. """ class Random(object): """ Random() -> create a random number generator with its own internal state. """ def getrandbits(self, k): """ getrandbits(k) -> x. Generates an int with k random bits. """ return 1 def getstate(self): """ getstate() -> tuple containing the current state. """ return () def random(self): """ random() -> x in the interval [0, 1). """ return 1 def seed(self, n=None): """ seed([n]) -> None. Defaults to current time. """ return None def setstate(self, state): """ setstate(state) -> None. Restores generator state. """ return None __doc__ = 'Module implements the Mersenne Twister random number generator.' class __loader__(object): """ Meta path import for built-in modules. All methods are either class or static methods to avoid the need to instantiate the class. """ def find_module(self, cls, fullname, path): """ Find the built-in module. If 'path' is ever specified then the search is considered a failure. """ pass def get_code(self, fullname): """ Return None as built-in modules do not have code objects. """ pass def get_source(self, fullname): """ Return None as built-in modules do not have source code. """ pass def is_package(self, fullname): """ Return False as built-in modules are never packages. """ pass def load_module(self): """ Load a built-in module. """ pass def module_repr(self, cls, module): pass __name__ = '_random' __package__ = ''