Alternative decorator syntax decision

Paul Morrow pm_mon at yahoo.com
Fri Aug 20 19:49:24 EDT 2004


Paul Morrow wrote:

>     def baz(a,b,c):
>         __synchronized__ = True
>         __accepts__ = (int,int,int)
>         __returns__ = int
>         __author__ = 'Fred Flintstone'
> 
>     return a + b + c
> 

Sorry about the indentation screw-up on that return stmnt...





More information about the Python-list mailing list