[Python-Dev] 2.4a2, and @decorators
Phillip J. Eby
pje at telecommunity.com
Tue Aug 3 20:11:26 CEST 2004
At 02:01 PM 8/3/04 -0400, Barry Warsaw wrote:
>My only other minor lament has nothing to do with this specific syntax.
>I still wish there was a way to decorate multi-arg property()'s, but oh
>well.
@property_getter
def foo(self):
...
@property_setter
def foo(self,value):
...
See Ed Loper's post at:
http://mail.python.org/pipermail/python-dev/2004-April/043902.html
and implementation at:
http://www.cis.upenn.edu/~edloper/pydecorators.html
More information about the Python-Dev
mailing list