[Python-Dev] Re: PEP 318: Decorators last before colon (original) (raw)
Mark Russell marktrussell at btopenworld.com
Mon Apr 5 05:16:51 EDT 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 ]
On Mon, 2004-04-05 at 05:33, Guido van Rossum wrote:
I, too, wish that there were a way to make it work with current expectations. The * prefix looks so arbitrary: why not /, why not @, etc...
What about:
[as classmethod]
def foo(bar, baz):
passTo me this is more obvious (and less like p*rl) that *[classmethod], and it is also currently a syntax error so won't break existing code.
Mark Russell
- 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 ]