pydoc > _weakref

Help on built-in module _weakref:

NAME
    _weakref - Weak-reference support module.

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

    getweakrefs(object, /)
        Return a list of all weak reference objects pointing to 'object'.

    proxy(object, callback=None, /)
        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 v4.12.29 · Markdown · JSON Author: Che Dong Under GNU General Public License
2026-12-02 05:06 @216.73.216.10
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!