[issue1428] Update to property.__doc__

2007-11-11 Thread Christian Heimes
Christian Heimes added the comment: Applied in r58935 (trunk) -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue1428] Update to property.__doc__

2007-11-11 Thread Guido van Rossum
Guido van Rossum added the comment: I would use _x instead of __x. Otherwise looks good. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing l

[issue1428] Update to property.__doc__

2007-11-11 Thread Christian Heimes
New submission from Christian Heimes: The patch adds the new syntax to the doc string of property: Decorators makes defining new or modifying existing properties easy: class C(object): @property def x(self): return self.__x @x.setter def x(self, value): self.__x = value @x.de