{
    "content": [
        {
            "type": "text",
            "text": "# _weakref (pydoc)\n\n**Summary:** weakref - Weak-reference support module.\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **FUNCTIONS** (1 lines) — 3 subsections\n  - getweakrefcount (2 lines)\n  - getweakrefs (3 lines)\n  - proxy (4 lines)\n- **FILE** (3 lines)\n\n## Full Content\n\n### NAME\n\nweakref - Weak-reference support module.\n\n### FUNCTIONS\n\n#### getweakrefcount\n\nReturn the number of weak references to 'object'.\n\n#### getweakrefs\n\ngetweakrefs(object) -- return a list of all weak reference objects\nthat point to 'object'.\n\n#### proxy\n\nproxy(object[, callback]) -- create a proxy object that weakly\nreferences 'object'.  'callback', if given, is called with a\nreference to the proxy when 'object' is about to be finalized.\n\n### FILE\n\n(built-in)\n\n"
        }
    ],
    "structuredContent": {
        "command": "_weakref",
        "section": "",
        "mode": "pydoc",
        "summary": "weakref - Weak-reference support module.",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FUNCTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "getweakrefcount",
                        "lines": 2
                    },
                    {
                        "name": "getweakrefs",
                        "lines": 3
                    },
                    {
                        "name": "proxy",
                        "lines": 4
                    }
                ]
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ]
    }
}