josmiley <joel-murie...@sfr.fr> added the comment:

>>> class DerivedProp(BaseProp):
...     @property
...     def p(self):
...         return super(DerivedProp, self).p * 2
...     @p.setter
...     def p(self, value):
...         BaseProp.p.__set__(self,value / 2)

----------
nosy: +josmiley

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14965>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to