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.

classification
Title: typo: section 2.1 -> property
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, grootea
Priority: normal Keywords:

Created on 2006-10-12 07:22 by grootea, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg30211 - (view) Author: Antoine De Groote (grootea) Date: 2006-10-12 07:22
http://docs.python.org/lib/built-in-funcs.html

The property function paragraph (version 2.5) includes
the following snippet 

class C(object):
    def __init__(self): self.__x = None
    def getx(self): return self._x
    def setx(self, value): self._x = value
    def delx(self): del self._x
    x = property(getx, setx, delx, "I'm the 'x' property.")

On line 2, __x is initialized. Some think this should
be _x. 
msg30212 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-10-12 07:38
Logged In: YES 
user_id=849994

Thanks for the report, fixed in rev. 52293, 52294 (2.5).
History
Date User Action Args
2022-04-11 14:56:20adminsetgithub: 44115
2006-10-12 07:22:01grooteacreate