Diez B. Roggisch a écrit :
>> You mean:
>>
>> class Pythonic(object):
>> def __init__(self):
>> self._is_active = True
>>
>> @apply
>> def is_active():
>> def fget(self): return self._is_active
>> def fset(self): raise SomeException('sorry, read-only')
>> return property(**locals())
>
>
> Neat! http://wiki.python.org/moin/PythonDecoratorLibrary > That slipped my attention over all this noisy and pointless > discussion... indeed. -- http://mail.python.org/mailman/listinfo/python-list
