Lines Matching refs:weakref
1 :mod:`weakref` --- Weak references
4 .. module:: weakref
14 **Source code:** :source:`Lib/weakref.py`
18 The :mod:`weakref` module allows the Python programmer to create :dfn:`weak
39 the :mod:`weakref` module are an alternative, using weak references to construct
53 dictionary implementations is exposed by the :mod:`weakref` module for the
82 :ref:`weakref-support`.
91 weakref object is still alive, the callback will be called when the object is
261 >>> import weakref
266 >>> r = weakref.ref(o)
306 import weakref
308 class ExtendedRef(weakref.ref):
340 import weakref
342 _id2obj_dict = weakref.WeakValueDictionary()