[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://www.cis.upenn.edu/~edloper/pydecorators.html



More information about the Python-Dev mailing list

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant