Package Yab :: Module Language :: Class Delegator
[show private | hide private]
[frames | no frames]

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)

Generated by Epydoc 2.0 on Fri Aug 15 16:30:51 2003 http://epydoc.sf.net