At 2008-05-30T17:40:17Z, "Diez B. Roggisch" <[EMAIL PROTECTED]> writes:
> Of course you can get the self - just use the first paramter, because it
> *is* self. Self is just a parameter - nothing special.
If I blame it on being a long week, can I keep my geek card?
--
Kirk Strauser
The Day Compan
Kirk Strauser schrieb:
I'm trying to write a decorator that would do something like:
def trace(before, after):
def middle(func):
def inner(*args, **kwargs):
func.im_self.debugfunction(before)
result = func(*args, **kwargs)
func.im_self.debugfunctio