coding pearls: Python inheritance does not include decorators
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
»> def decorador(func):
… def wrapped(self, valor, *args, **kargs):
… return func(self, 0, *args, **kargs)
… return wrapped
…
»> class A(object):