[Python-Dev] Definining properties - a use case for class decorators?

Phillip J. Eby pje at telecommunity.com
Wed Oct 19 18:49:47 CEST 2005


At 11:43 AM 10/19/2005 -0500, skip at pobox.com wrote:
>     >> <callable> <name> <tuple>:
>     >>     <definitions>
>     ...
>
>     Steve> Wow, that's really neat.  And you save a keyword! ;-)
>
>Two if you add a builtin called "function" (get rid of "def").

Not unless the tuple is passed in as an abstract syntax tree or something.



More information about the Python-Dev mailing list