Can I use decorators to manipulate return type or create methods?

Diez B. Roggisch deets at nospam.web.de
Fri Oct 20 16:12:19 CEST 2006


WakeBdr schrieb:
> OK, I think I'm close now.  I just can't get past this one error.  Here
> is my code, followed by the output produced when I run it.

Stupid mistake of me - I didn't properly create a closure for the 
functions to set. See the corrected version in the attachment.

Diez
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test2.py
Type: application/x-python
Size: 1566 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20061020/ca0cd56d/attachment.bin>


More information about the Python-list mailing list