|
1
|
Delegation gives us monotonous codings. But, special method '__getattr__' is called when a certain object does not have the called method. This recipe solve the tiresome coding. The object should call delegated object's method by argument 'name'.
|
Add a comment
Sign in to comment

Download
Copy to clipboard
