wiki update: decorator syntax breakdown
Mark Bottjer
mark_bottjer at hotmail.com
Wed Aug 11 21:11:40 EDT 2004
Steven Bethard wrote:
> Just wanted to let everyone know that I went through the wiki and
> tried to consolidate some of the advantages/disadvantages of the
> various syntax decisions:
Cool!
*rummage* *rummage*
Hm. Just as a note, I didn't spot the following (recent?) variant:
class C:
def c(self):
meta:
classmethod
doc('This is a function!')
pass
For example, see the "Decorators proposal" thread.
Thanks for all the hard work.
-- Mark
More information about the Python-list
mailing list