top | item 1604667

Understanding Python decorators

56 points| spoon16 | 15 years ago |stackoverflow.com | reply

6 comments

order
[+] mkramlich|15 years ago|reply
this is RTFM material and i wish i could downvote it
[+] weaksauce|15 years ago|reply
I don't think that it is quite RTFM material. I looked at the documentation on decorators in the python manual(actually there was only passing mention in the manual it was fleshed out in the pep3129) and it is fairly lacking. Sure it describes how the decorators operate in a syntactical sense it does not provide the motivation for them or the examples that this stack overflow question answers.
[+] njharman|15 years ago|reply
In a real sense The Internet has been the manual for awhile now.