Declarative properties
Bruno Desthuilliers
bdesth.quelquechose at free.quelquepart.fr
Sat Oct 13 16:21:31 EDT 2007
Stargaming a écrit :
> On Thu, 11 Oct 2007 18:58:44 +0200, Bruno Desthuilliers wrote:
> [snip]
>
> Your implementation seems particularly broken. You do not return anything
> from `name()`,
Oops, my bad ! Indeed, I forgot the 'return property(**locals())' at the
end. And a couple other things too:
> I'm going to point out a few other mistakes first:
>
(snip other corrections)
I'll call you when I'll have code to fix - you're doing a good job !-)
More information about the Python-list
mailing list