# 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 use urandom and falls back to a combination of the current time and the process identifier. """ 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 create_module(self, spec): """ Create a built-in module """ pass def exec_module(self, module): """ Exec a built-in module """ pass def find_module(self, fullname, path=None): """ Find the built-in module. If 'path' is ever specified then the search is considered a failure. This method is deprecated. Use find_spec() instead. """ pass def find_spec(self, fullname, path=None, target=None): 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, fullname): """ Load the specified module into sys.modules and return it. This method is deprecated. Use loader.exec_module instead. """ pass def module_repr(self, module): """ Return repr for the module. The method is deprecated. The import machinery does the job itself. """ pass __name__ = '_random' __package__ = '' __spec__ = None