J2 proposal: keyword

Paul Morrow pm_mon at yahoo.com
Mon Aug 23 08:43:23 EDT 2004


Nicolas Fleury wrote:
> Roman Suzi wrote:
> 
>> This surprises me. And this doen't surprise:
>>
>> using:
>>      staticmethod; synchronized; memoize
>> def bar(foo):
>>      "To colon or not to colon? Def is the question."
>>      pass
> 
> 
> +1
> Nicolas

I see that and I can't help but wish for this...

    def bar(foo):
        "To colon or not to colon? Def is the question."
        __using__ = staticmethod, synchronized, momoize
        pass

Paul




More information about the Python-list mailing list