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.

Title: Small typo in properties example
Type: Stage:
Components: Documentation Versions: Python 2.5
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: cgrohmann, georg.brandl
Priority: normal Keywords:

Created on 2007-08-30 19:36 by cgrohmann, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg55505 - (view) Author: Carsten Grohmann (cgrohmann) Date: 2007-08-30 19:36
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

msg55513 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-08-30 20:54
Thanks, this is already fixed in the development docs
Date User Action Args
2022-04-11 14:56:26adminsetgithub: 45404
2007-08-30 20:54:00georg.brandlsetstatus: open -> closed
nosy: + georg.brandl
messages: + msg55513
resolution: out of date
2007-08-30 19:36:22cgrohmanncreate