💾 Archived View for tris.fyi › pydoc › _weakref captured on 2022-03-01 at 15:51:49. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-01-08)

➡️ Next capture (2023-01-29)

-=-=-=-=-=-=-

Back to module index

Go to module by name

_weakref

Weak-reference support module.

Classes

weakcallableproxy

weakproxy

weakref

weakref

Functions

getweakrefcount

getweakrefcount(object, /)

  Return the number of weak references to 'object'.

getweakrefs

getweakrefs(...)

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

proxy

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.