💾 Archived View for tris.fyi › pydoc › _weakref captured on 2023-01-29 at 02:44:44. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-01-08)
-=-=-=-=-=-=-
Weak-reference support module.
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.