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