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

Samuele Pedroni pedronis at bluewin.ch
Fri Apr 2 16:16:05 EST 2004


At 10:55 02.04.2004 -0500, Casey Duncan wrote:

>   [protected_by(some_permission)]:
>
>       def dangerous(self, risk):
>           pass

I think the syntax (of which the proposed one is a subcase)

expr:
   suite

is better reserved for even more mischievous endeavors, even if just 
fantasized.





More information about the Python-Dev mailing list