Yet another decorator proposal

Paul Rubin http
Wed Aug 11 02:28:53 EDT 2004


Marco Aschwanden <PPNTWIMBXFFC at spammotel.com> writes:
> Here is yet another decorator proposal:
> 
> def sumSequencesLengths(var1, var2):
>      """Computes something very important.
> 
>      __decorators__:
>          staticmethod

I think you are onto something.  The particular syntax you proposed
has shortcomings, but maybe improvements are possible.



More information about the Python-list mailing list