[Python-Dev] PEP 318: Decorators last before colon

Josiah Carlson jcarlson at uci.edu
Tue Mar 30 14:34:36 EST 2004


> Another possibility that has been suggested is
> 
> [decorator] 
> def func(arg, arg):
> 
> This has some of the same readability benefits as (c).

Except that what you show is currently valid syntax.  Making a currently
valid syntax mean something new is, I believe, generally frowned upon.

 - Josiah




More information about the Python-Dev mailing list