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 cgrohmann
Recipients cgrohmann
Date 2007-08-30.19:36:22
SpamBayes Score 0.1493828
Marked as misclassified No
Message-id <1188502582.95.0.0929628871565.issue1063@psf.upfronthosting.co.za>
In-reply-to
Content
The example for property() contains a typo / small bug:

class C(object):
    def __init__(self): self.__x = None
[...]

should be:

class C(object):
    def __init__(self): self._x = None
[...]

Source: http://docs.python.org/lib/built-in-funcs.html
History
Date User Action Args
2007-08-30 19:36:23cgrohmannsetspambayes_score: 0.149383 -> 0.1493828
recipients: + cgrohmann
2007-08-30 19:36:22cgrohmannsetspambayes_score: 0.149383 -> 0.149383
messageid: <1188502582.95.0.0929628871565.issue1063@psf.upfronthosting.co.za>
2007-08-30 19:36:22cgrohmannlinkissue1063 messages
2007-08-30 19:36:22cgrohmanncreate