Package horizons :: Package util :: Module living :: Class LivingObject
[hide private]
[frames] | no frames]

Class LivingObject

source code

This class is intended to be used with the livingProperty to ensure all variables are safely deinited when intended by the programmer. The livingProperty calls the livingObject's end() function to deinit the object. This mostly replacing the __del__ function, as its behavior is not well behaved.

Instance Methods [hide private]
 
end(self)
Put all the code the object needs to end safely here.
source code
Method Details [hide private]

end(self)

source code 

Put all the code the object needs to end safely here. Make sure it always contains the super(YOUROBJECT, self).end() call, to ensure all parentobjects are deinited correctly.