{
    "content": [
        {
            "type": "text",
            "text": "# _random (pydoc)\n\n**Summary:** random - Module implements the Mersenne Twister random number generator.\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **CLASSES** (3 lines) — 1 subsections\n  - class Random (28 lines)\n- **FILE** (3 lines)\n\n## Full Content\n\n### NAME\n\nrandom - Module implements the Mersenne Twister random number generator.\n\n### CLASSES\n\nbuiltins.object\nRandom\n\n#### class Random\n\n|  Random() -> create a random number generator with its own internal state.\n|\n|  Methods defined here:\n|\n|  getrandbits(self, k, /)\n|      getrandbits(k) -> x.  Generates an int with k random bits.\n|\n|  getstate(self, /)\n|      getstate() -> tuple containing the current state.\n|\n|  random(self, /)\n|      random() -> x in the interval [0, 1).\n|\n|  seed(self, n=None, /)\n|      seed([n]) -> None.\n|\n|      Defaults to use urandom and falls back to a combination\n|      of the current time and the process identifier.\n|\n|  setstate(self, state, /)\n|      setstate(state) -> None.  Restores generator state.\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n\n### FILE\n\n(built-in)\n\n"
        }
    ],
    "structuredContent": {
        "command": "_random",
        "section": "",
        "mode": "pydoc",
        "summary": "random - Module implements the Mersenne Twister random number generator.",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "CLASSES",
                "lines": 3,
                "subsections": [
                    {
                        "name": "class Random",
                        "lines": 28
                    }
                ]
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ]
    }
}