Decorator syntax

Ames Andreas (MPA/DF) Andreas.Ames at tenovis.com
Thu Aug 5 08:59:30 EDT 2004


Hi,

Michael Ekstrand wrote:

> def(staticmethod) somemethod(self, args):
>     some code

could you or someone else please enlighten me, as someone who wasn't
following the decorator syntax discussion, why this syntax was ruled
out?

It still (after looking up some of the discussed alternatives) seems
to be the most appropriate to me, esp. since core changes seem to be
acceptable to get a useful decorator syntax.


tia,

andreas




More information about the Python-list mailing list