Function attributes
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Fri Feb 12 20:48:30 EST 2010
En Fri, 12 Feb 2010 04:29:12 -0300, Arnaud Delobelle
<arnodel at googlemail.com> escribió:
> I posted an example of a decorator that does just this in this thread a
> couple of days ago:
>
> http://mail.python.org/pipermail/python-list/2010-February/1235742.html
Ouch! I didn't see your post, nor several other earlier posts in this
thread. In fact, I thought mine was the *first* reply when I wrote it!
Yes, of course, your code does exactly that without any bytecode hacks.
--
Gabriel Genellina
More information about the Python-list
mailing list