[Python-Dev] PEP 318: Decorators last before colon (original) (raw)

Tim Peters tim.one at comcast.net
Tue Mar 30 22:02:49 EST 2004


[Ping]

Another possibility that has been suggested is

[decorator] def func(arg, arg):

[Guido]

And one that I currently favor. I'm out of bandwidth to participate on a msg-by-msg basis, but perhaps folks can see if they can come to terms with this solution?

+0. I'm not convinced that Python actually needs decorators, but if I were that would be a +1; I certainly like this spelling better than the other ones.



More information about the Python-Dev mailing list