change property after inheritance

David Isaac aisaac0 at verizon.net
Wed Sep 6 10:33:25 EDT 2006


Suppose a class has properties and I want to change the
setter in a derived class. If the base class is mine, I can do this:
http://www.kylev.com/2004/10/13/fun-with-python-properties/
Should I? (I.e., is that a good solution?)

And what if I cannot change the base class?
How to proceed then?

Thanks,
Alan Isaac





More information about the Python-list mailing list