A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-October/075064.html below:

[Python-Dev] Declaring setters with getters

[Python-Dev] Declaring setters with getters [Python-Dev] Declaring setters with gettersGeorg 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?

Georg

-- 
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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4