Any syntactic cleanup likely for Py3? And what about doc standards?

Alan Isaac aisaac at american.edu
Wed Sep 5 23:31:43 EDT 2007


Torsten Bronger wrote: 
> I like to use properties.  However, Python already
> has properties.  Their syntax is quite nice in my opinion, and
> rather explicit, too.  

Yes.

> Their only flaw is that they are not
> "virtual" (in C++ speak).  In other words, you can't pass a "self"
> parameter to them.

http://www.kylev.com/2004/10/13/fun-with-python-properties/

fwiw,
Alan Isaac



More information about the Python-list mailing list