{
    "mode": "pydoc",
    "parameter": "_weakref",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/pydoc/_weakref/json",
    "generated": "2026-11-21T14:25:30Z",
    "sections": {
        "NAME": {
            "content": "weakref - Weak-reference support module.\n",
            "subsections": []
        },
        "FUNCTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "getweakrefcount",
                    "content": "Return the number of weak references to 'object'.\n"
                },
                {
                    "name": "getweakrefs",
                    "content": "Return a list of all weak reference objects pointing to 'object'.\n"
                },
                {
                    "name": "proxy",
                    "content": "Create a proxy object that weakly references 'object'.\n\n'callback', if given, is called with a reference to the\nproxy when 'object' is about to be finalized.\n"
                }
            ]
        },
        "FILE": {
            "content": "(built-in)\n\n",
            "subsections": []
        }
    },
    "summary": "weakref - Weak-reference support module.",
    "flags": [],
    "examples": [],
    "see_also": []
}