Help on built-in module _random: NAME _random - Module implements the Mersenne Twister random number generator. CLASSES builtins.object Random class Random(builtins.object) | Random() -> create a random number generator with its own internal state. | | Methods defined here: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | getrandbits(self, k, /) | getrandbits(k) -> x. Generates an int with k random bits. | | getstate(self, /) | getstate() -> tuple containing the current state. | | random(self, /) | random() -> x in the interval [0, 1). | | 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. | | setstate(self, state, /) | setstate(state) -> None. Restores generator state. | | ---------------------------------------------------------------------- | Static methods defined here: | | __new__(*args, **kwargs) | Create and return a new object. See help(type) for accurate signature. FILE (built-in)
Generated by phpman v4.12.29 · Markdown · JSON Author: Che Dong Under GNU General Public License
2026-12-02 00:58 @216.73.216.10
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)