Package mrv :: Module util :: Class CallOnDeletion
[hide private]
[frames] | no frames]

Class CallOnDeletion

source code

object --+
         |
        CallOnDeletion

Call the given callable object once this object is being deleted Its usefull if you want to assure certain code to run once the parent scope of this object looses focus
Instance Methods [hide private]
 
__del__(self) source code
 
__init__(self, callableobj)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  callableobj

Inherited from object: __class__

Method Details [hide private]

__init__(self, callableobj)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)