[Python-Dev] PEP 318: Decorators last before colon

Shane Holloway (IEEE) shane.holloway at ieee.org
Tue Mar 30 22:45:58 EST 2004


Jeremy Hylton wrote:

 > Another possibility that has been suggested is
 >
 > [decorator]
 > def func(arg, arg):
 >

+1 This tastes the best to me of the flavors I have seen.  I also
agree that this syntax would be a little difficult to look up.

-Shane





More information about the Python-Dev mailing list