On Jan 30, 7:17 pm, andrew cooke <and...@acooke.org> wrote: > On Jan 29, 5:37 pm, "Gabriel Genellina" <gagsl-...@yahoo.com.ar> > wrote: > > > The decorator module is a very fine addition to anyone's tool set -- but > > in this case it is enough to use the wraps() function from the functools > > standard module. > > ah, thanks! i thought something like this existed in the standard > lib, but couldn't find it. > > andrew
ah, sorry, peter's code uses types, so i assume that's the way to go (i was hoping that there was something a bit simpler - i don't like the fact that the code in peter's code has a fixed list of special names). andrew -- http://mail.python.org/mailman/listinfo/python-list