Decorating class member functions

Andy Terrel andy.terrel at gmail.com
Thu May 3 22:28:52 EDT 2007


I just need to keep the state around. I make a call to some function
that is pretty expensive so I want to save it as a member during the
__init__ of the decorator.

Yeah I'm afraid it can't be done either, that's why I asked the group.







More information about the Python-list mailing list