override a property
onurb at xiludom.gro
Tue Oct 18 10:32:34 CEST 2005
Robin Becker wrote:
> Bruno Desthuilliers wrote:
>> Robin Becker a écrit :
>>> Is there a way to override a data property in the instance? Do I need
>>> to create another class with the property changed?
>> Do you mean attributes or properties ?
> I mean property here.
Ok, wasn't sure... And sorry, but I've now answer.
> My aim was to create an ObserverProperty class
> that would allow adding and subtracting of set/get observers.
Could you elaborate ? Or at least give an exemple ?
> My current
> implementation works fine for properties on the class, but when I need
> to specialize an instance I find it's quite hard.
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"
More information about the Python-list