Re: Decorating instance methods

2007-07-09 Thread Cousin Stanley
> > Try this: > Sesame __Street__ Version ''' NewsGroup comp.lang.python Subject ...... Decorating instance methods Post_By .. Alexander Draeger Reply_By . Duncan Booth Edit_By .. Stanley C. Kitching ''&

Re: Decorating instance methods

2007-07-09 Thread Duncan Booth
Alexander Draeger <[EMAIL PROTECTED]> wrote: > Hello everybody, > > I'm very interesting in using the decorator concept, but I can't > convert it in useful things. I have read many about decorators and > have seen a lot of examples, but I search a possibility, to decorate > methods of classes wit

Re: Decorating instance methods

2007-07-09 Thread Diez B. Roggisch
Alexander Draeger schrieb: > Hello everybody, > > I'm very interesting in using the decorator concept, but I can't > convert it in useful things. I have read many about decorators and > have seen a lot of examples, but I search a possibility, to decorate > methods of classes with reference to the

Decorating instance methods

2007-07-09 Thread Alexander Draeger
Hello everybody, I'm very interesting in using the decorator concept, but I can't convert it in useful things. I have read many about decorators and have seen a lot of examples, but I search a possibility, to decorate methods of classes with reference to the instances. For example: I have a class