On 25 Aug, 21:52, Benjamin <[EMAIL PROTECTED]> wrote: > ... I think Python 2.6 may have > want you want: > > class A(object): > > @property > def my_prop(): return self._prop > > @my_prop.setter > def my_prop(prop): self._prop = prop > > @my_prop.deleter > def my_prop(): del self._prop
Hmm, interesting. I wonder if it suppports setting the doc-string in a similar way? I'll have to look into that. Thanks for pointing this out. ~ Daniel -- http://mail.python.org/mailman/listinfo/python-list