Guide to: Learning Python Decorators

88888 Dihedral dihedral88888 at googlemail.com
Fri Feb 10 03:11:13 EST 2012


I prefer to decorate a function not a method.

I prefer to decorate an object to own a new method from the existed ones  
inherited  in all the  class levels.

I do not decorate a class if not necessary. 
  
I believe this is more pythonic to add functionalities to objects in classes by
aggregated scripts that use similar modules over a period of time. 



More information about the Python-list mailing list