would it not be nice if you could assign decorators to attributes too ? for example
class C:
@staticattribute
data='hello'
or
class C:
@privateattribute
data='hello'
--
http://mail.python.org/mailman/listinfo/python-list
would it not be nice if you could assign decorators to attributes too ? for example
class C:
@staticattribute
data='hello'
or
class C:
@privateattribute
data='hello'
--
http://mail.python.org/mailman/listinfo/python-list