Package horizons :: Package util :: Package python :: Module decorators :: Class cachedmethod
[hide private]
[frames] | no frames]

Class cachedmethod

source code

Same as cachedfunction, but works also for methods. Results are saved per instance

Instance Methods [hide private]
 
__init__(self, func) source code
 
__get__(self, instance, cls=None) source code
 
__call__(self, *args, **kwargs) source code