[bob, apologies for the re-send... I'm a gmail newbie] On Fri, 13 Aug 2004 19:24:24 -0400, Bob Ippolito <bob at redivi.com> wrote: > My only problem with this syntax is that I expect the common cases > (mine, anyway) to be zero or one decorators per function, so the extra > block and indent seems a bit excessive compared to the current > @prefix-symbol-decorator proposal(s). It is, of course, far better For the case of one decorator, one could allow: decorate: staticmethod def p_statement_expr(self, p): pass Which is admittedly more typing than @staticmethod -- but is brevity a feature? Even if "decorate" is an inaccurate description of what the decorator is doing (it may registering, creating grayscale ramps, and so on) it at least matches the name of the language feature: decorators. Good for documentation! This is my favorite proposal so far.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4