{
    "content": [
        {
            "type": "text",
            "text": "# pty (pydoc)\n\n**Summary:** pty - Pseudo terminal utilities.\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **MODULE REFERENCE** (8 lines)\n- **FUNCTIONS** (1 lines) — 3 subsections\n  - fork (3 lines)\n  - openpty (3 lines)\n  - spawn (2 lines)\n- **DATA** (2 lines)\n- **FILE** (3 lines)\n\n## Full Content\n\n### NAME\n\npty - Pseudo terminal utilities.\n\n### MODULE REFERENCE\n\nhttps://docs.python.org/3.10/library/pty.html\n\nThe following documentation is automatically generated from the Python\nsource files.  It may be incomplete, incorrect or include features that\nare considered implementation detail and may vary between Python\nimplementations.  When in doubt, consult the module reference at the\nlocation listed above.\n\n### FUNCTIONS\n\n#### fork\n\nfork() -> (pid, masterfd)\nFork and make the child a session leader with a controlling terminal.\n\n#### openpty\n\nopenpty() -> (masterfd, slavefd)\nOpen a pty master/slave pair, using os.openpty() if possible.\n\n#### spawn\n\nCreate a spawned process.\n\n### DATA\n\nall = ['openpty', 'fork', 'spawn']\n\n### FILE\n\n/usr/lib/python3.10/pty.py\n\n"
        }
    ],
    "structuredContent": {
        "command": "pty",
        "section": "",
        "mode": "pydoc",
        "summary": "pty - Pseudo terminal utilities.",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "MODULE REFERENCE",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "FUNCTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "fork",
                        "lines": 3
                    },
                    {
                        "name": "openpty",
                        "lines": 3
                    },
                    {
                        "name": "spawn",
                        "lines": 2
                    }
                ]
            },
            {
                "name": "DATA",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ]
    }
}