tweaking @decorator syntax - yet another syntax

Peter Hansen peter at engcorp.com
Fri Aug 6 08:08:12 EDT 2004


Stefan Eischet wrote:

> I don't know if this particular syntax has been discussed already... 
> please feel free to bash me if it was. ;-)

Bash bash.

> How about using "is" after the def?

Read the PEP.  Basically the same as the "as" variant.



More information about the Python-list mailing list