>> @parent.setter >> def set_parent(self, new_parent): >> self._parent = new_parent > This creates a settable property with the name "set_parent" and leaves the > read-only property "parent" alone. Yes, and more. That property will also have a get method! Is it intentional? -- https://mail.python.org/mailman/listinfo/python-list
- what is wrong with this property setter Nagy László Zsolt
- Re: what is wrong with this property setter Mark Summerfield
- Re: what is wrong with this property setter Steven D'Aprano
- Re: what is wrong with this property setter Peter Otten
- Re: what is wrong with this property setter Nagy László Zsolt
- Re: what is wrong with this property sett... Peter Otten
- Re: what is wrong with this property ... Nagy László Zsolt
- Re: what is wrong with this prop... Peter Otten