Ver originalclass Bar(object): def __getattr__(self, attr): def default_method(*args, **kwargs): print args, kwargs return default_method b = Bar()b.nombre(1, 2, 3, a=4)b.foo()