This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, gvanrossum
Date 2007-11-11.23:23:42
SpamBayes Score 0.024686836
Marked as misclassified No
Message-id <1194823423.41.0.514895809101.issue1428@psf.upfronthosting.co.za>
In-reply-to
Content
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.deleter
    def x(self): del self.__x
Files
File name Uploaded
property_docstring.patch christian.heimes, 2007-11-11.23:23:42
History
Date User Action Args
2007-11-11 23:23:43christian.heimessetspambayes_score: 0.0246868 -> 0.024686836
recipients: + christian.heimes, gvanrossum
2007-11-11 23:23:43christian.heimessetspambayes_score: 0.0246868 -> 0.0246868
messageid: <1194823423.41.0.514895809101.issue1428@psf.upfronthosting.co.za>
2007-11-11 23:23:43christian.heimeslinkissue1428 messages
2007-11-11 23:23:43christian.heimescreate