What's with the @ sign

Paddy paddy3118 at netscape.net
Tue May 23 19:26:16 CEST 2006


Oh please, please, can I answer!

They are decorators.
Check-out http://zephyrfalcon.org/weblog2/arch_e10_00610.html#e610
(decorate this),
or http://paddy3118.blogspot.com/ " Python function attributes" and
then " Function Attributes assigned by decorator".

Of course there is also:
http://wiki.python.org/moin/PythonDecoratorLibrary

- Pad.




More information about the Python-list mailing list