Package pypat :: Package structural :: Module decorator :: Class Decorator
[hide private]
[frames] | no frames]

Class Decorator

source code


Base Decorator class that all decorator classes inherit from.

- External Usage Documentation: U{https://github.com/tylerlaberge/PyPatterns/wiki/Structural-Pattern-Usage}
- External Decorator Pattern documentation: U{https://en.wikipedia.org/wiki/Decorator_pattern}

Instance Methods [hide private]
 
__get__(self, instance, owner)
Override __get__ in order to get the instance of a bound of method call.
source code
 
__call__(self, *args, **kwargs)
All decorators must implement a __call__ method.
source code
Method Details [hide private]

__call__(self, *args, **kwargs)
(Call operator)

source code 

All decorators must implement a __call__ method.

Decorators:
  • @abstractmethod