A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-August/047844.html below:

[Python-Dev] Decorator syntax J2 (decorate..def), with implementation

[Python-Dev] Decorator syntax J2 (decorate..def), with implementationBarry Warsaw barry at python.org
Mon Aug 16 01:44:13 CEST 2004
On Fri, 2004-08-13 at 19:24, Bob Ippolito 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 
> than typing the function name three times though! :)

Same here.  It trades one line at the end of the function for two (or
more) before the beginning of the function.

-0

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20040815/23f479b1/attachment.pgp
More information about the Python-Dev mailing list

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