Re: Overwrite only one function with property()

2006-11-19 Thread Bruno Desthuilliers
Kai Kuehne a écrit : > Hi list! > It is possible to overwrite only one function with the property-function? property is not function, it's a class. And it doesn't "overwrite" anything. > x = property(getx, setx, delx, 'doc') > > I just want to overwrite setx, but when I set the others to None, >

Re: Overwrite only one function with property()

2006-11-18 Thread gagsl-py
On 18 nov, 19:06, "Kai Kuehne" <[EMAIL PROTECTED]> wrote: > It is possible to overwrite only one function with the property-function? > > x = property(getx, setx, delx, 'doc') > > I just want to overwrite setx, but when I set the others to None, > I can't read and del the member. Any ideas or is t

Re: Overwrite only one function with property()

2006-11-18 Thread George Sakkis
Kai Kuehne wrote: > Hi list! > It is possible to overwrite only one function with the property-function? > > x = property(getx, setx, delx, 'doc') > > I just want to overwrite setx, but when I set the others to None, > I can't read and del the member. Any ideas or is this not possible? There are

Overwrite only one function with property()

2006-11-18 Thread Kai Kuehne
Hi list! It is possible to overwrite only one function with the property-function? x = property(getx, setx, delx, 'doc') I just want to overwrite setx, but when I set the others to None, I can't read and del the member. Any ideas or is this not possible? Thank you! Kai -- http://mail.python.org