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

Greg Ewing greg at cosc.canterbury.ac.nz
Mon Apr 5 20:32:06 EDT 2004


On Mon, 2004-04-05 at 11:38, David Abrahams wrote:
> Not bad.  Also tolerable:
> 
>   as [classmethod]
>   def foo(bar, baz):
>      pass

I thought we decided long ago that we can't use a keyword
because no single keyword could sound right in the context
of all possible use cases.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+



More information about the Python-Dev mailing list