[Python-Dev] Declaring setters with getters

Georg Brandl g.brandl at gmx.net
Wed Oct 31 19:14:42 CET 2007

Guido van Rossum schrieb:

> I'd like to make this a standard built-in, in the hope the debate on
> how to declare settable properties.

+1. I'm waiting for the obligatory cry for @propdel though :)

> I'd also like to change property so that the doc string defaults to
> the doc string of the getter.

I may be misunderstanding, but isn't that what patch #1434038 already
implemented in 2.5?


Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.

More information about the Python-Dev mailing list