_weakref - pydoc - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool


Help on built-in module _weakref:

NAME
    _weakref - Weak-reference support module.

FUNCTIONS
    getweakrefcount(object, /)
        Return the number of weak references to 'object'.

    getweakrefs(...)
        getweakrefs(object) -- return a list of all weak reference objects
        that point to 'object'.

    proxy(...)
        proxy(object[, callback]) -- create a proxy object that weakly
        references 'object'.  'callback', if given, is called with a
        reference to the proxy when 'object' is about to be finalized.

FILE
    (built-in)



Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 05:13 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!