picop.cyweakref#
Weakref helpers.
- picop.cyweakref.weakref_check(ob)#
Return True if
obis a weak reference or proxy.
- picop.cyweakref.weakref_check_proxy(ob)#
Return True if
obis a weak proxy.
- picop.cyweakref.weakref_check_ref(ob)#
Return True if
obis a weak referent (PyWeakref_CheckRef).
- picop.cyweakref.weakref_eq(a, b)#
Return True if weakrefs equal (referent
==when alive; identity if dead).
- picop.cyweakref.weakref_get_object(ref)#
Return the referent of
ref, orNoneif dead (owned ref).
- picop.cyweakref.weakref_new_proxy(ob, callback=None)#
Return a weak proxy via
PyWeakref_NewProxy.