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

Terry Reedy tjreedy at udel.edu
Wed Mar 31 22:19:53 EST 2004


"Mike Thompson" <mike.spam.filter at day8.com.au> wrote in message
news:c4fk3i$ujb$1 at sea.gmane.org...
>      as: [classmethod]
>      def func(args)

I think I like this better than the bare list as a prefix.  as: suites
could be explained as an optional prefix suite for functions just as else:
suites are optional suffix suites for if/while/for.   Hmmm...

Terry J. Reedy






More information about the Python-Dev mailing list