Really virtual properties
steven.bethard at gmail.com
Fri Aug 19 04:37:45 CEST 2005
Ben Finney wrote:
> Not using the built-in property type. Here is a recipe for a
> LateBindingProperty that does what you ask:
> Steven Bethard:
> "This recipe provides a LateBindingProperty callable which allows
> the getter and setter methods associated with the property to be
> overridden in subclasses."
Also see Tim Delaney's comment at the bottom, which provides similar
functionality by subclassing property.
More information about the Python-list