Represent a weak bound method, i.e. a method which doesn’t keep alive the object that it is bound to. It uses WeakRef which, used on its own, produces weak methods that are dead on creation, not very useful. Typically, you will use the getWeakRef() module function instead of using this class directly.
__init__ | The method must be bound. notifyDead will be called when |
refs | Return true if we are storing same object referred to by weakRef. |
Represent a weak bound method, i.e. a method which doesn’t keep alive the object that it is bound to. It uses WeakRef which, used on its own, produces weak methods that are dead on creation, not very useful. Typically, you will use the getWeakRef() module function instead of using this class directly.
The method must be bound. notifyDead will be called when object that method is bound to dies.
Return true if we are storing same object referred to by weakRef.