[Python-Dev] Re: PEP 318: Decorators last before colon (original) (raw)
Samuele Pedroni pedronis at bluewin.ch
Fri Apr 2 16:16:05 EST 2004
- Previous message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Next message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 10:55 02.04.2004 -0500, Casey Duncan wrote:
[protectedby(somepermission)]:
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.
- Previous message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Next message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]