reuse validation logic with descriptors
David S.
davidschein at alumni.tufts.edu
Wed Mar 2 08:40:34 EST 2005
Steve Holden <steve <at> holdenweb.com> writes:
> You want assignment to a method-local variable to turn an attribute into
> a property? That's programming with a magic wand ...
>
> That will depend on the value returned by property access, surely?
>
> I suspect you are a little confused about properties and descriptors.
>
> regards
> Steve
Quite confused, actually, which was the reason for my original post.
Thanks again to those who helped me and any other confused folks
understand this bit of Python that much better.
Peace,
David S.
More information about the Python-list
mailing list