[Python-Dev] Re: PEP 318: Decorators last before colon
Bob Ippolito
bob at redivi.com
Fri Apr 2 16:22:13 EST 2004
On Apr 2, 2004, at 4:16 PM, Samuele Pedroni wrote:
> 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.
+1 :)
More information about the Python-Dev
mailing list