Syntax modification idea: (classmethods, properties locking...)

A.M. Kuchling amk at amk.ca
Fri Jan 17 10:23:53 EST 2003


On Thu, 16 Jan 2003 16:37:07 -0600, 
	Jeff Epler <jepler at unpythonic.net> wrote:
> Something like this was suggested once, possibly on python-dev.  The
> syntax proposed there was:
>     def f() [classmethod]:
>         pass
> A chained form was also proposed.
> The proposal did not win any wide acceptance.

Quixote's PTL adopted a variation of it:

def template [html] ():
    ...

--amk




More information about the Python-list mailing list