Overwrite only one function with property()
gagsl-py at yahoo.com.ar
gagsl-py at yahoo.com.ar
Sat Nov 18 18:03:10 EST 2006
On 18 nov, 19:06, "Kai Kuehne" <kai.kue... at gmail.com> 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 this not possible?
Do you want to override the setter of an existing property, in a
derived class?
More information about the Python-list
mailing list