Class Delegator
- Known Subclasses:
-
BuildEnv
A delegator is a class that can delegate method calls to another. If a
method call is made on a class that inherits from Delegator, and the
method is not defined on the object, python will look for the method on
the object stored in the "delegate" attribute.
If it finds a method and that method is callable it will call the
method, setting the "delegator" keyword to the original call
point.
If there is no "delegate" attribute, or the attribute
returned from the delegate is not callable, raise AttibureError.
| Method Summary |
| |
__getattr__(self,
attr)
|