[Python-Dev] Re: PEP 318: Decorators last before colon
Simon Percivall
s.percivall at chello.se
Wed Mar 31 03:12:39 EST 2004
On 2004-03-31, at 04.52, Terry Reedy wrote:
> Taking the prefix position as given for the moment, why overload list
> literal syntax versus something currently illegal and meaningless?
> Such as
>
> <decorator> # almost as easy, or
>
Yes. This looks better and will make it more clear that it's a special
case. Otherwise the decorators will look too decoupled from the
function.
More information about the Python-Dev
mailing list