Function name unchanged in error message
andrew cooke
andrew at acooke.org
Sat Jan 30 17:31:51 EST 2010
On Jan 30, 7:17 pm, andrew cooke <and... at acooke.org> wrote:
> On Jan 29, 5:37 pm, "Gabriel Genellina" <gagsl-... at 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
More information about the Python-list
mailing list