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/075066.html below:

[Python-Dev] Declaring setters with getters

[Python-Dev] Declaring setters with getters [Python-Dev] Declaring setters with gettersGuido van Rossum guido at python.org
Wed Oct 31 19:25:30 CET 2007
On 10/31/07, Georg Brandl <g.brandl at gmx.net> wrote:
> 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 :)

propdel: just say no.

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

D'oh, you're right. I tested this with 2.4 (which is the default
Python at Google). +1 on this proposal then. :-)

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
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