Hallöchen!
Steven D'Aprano writes:
> On Thu, 06 Sep 2007 03:31:43 +0000, Alan Isaac wrote:
>
>>> 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/
>
>
> I'm not 100% sure I get what problem that piece of code is
> supposed to solve, but if I have understood it, the obvious
> solution is to use inheritance, not nasty tricks with lambdas.
Yes, it is the right solution for the wrong problem.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: bronger@jabber.org
(See http://ime.webhop.org for ICQ, MSN, etc.)