Bugs item #1575746, was opened at 2006-10-12 07:22
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1575746&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Antoine De Groote (grootea)
>Assigned to: Georg Brandl (gbrandl)
Summary: typo: section 2.1 -> property

Initial Comment:
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. 

----------------------------------------------------------------------

>Comment By: Georg Brandl (gbrandl)
Date: 2006-10-12 07:38

Message:
Logged In: YES 
user_id=849994

Thanks for the report, fixed in rev. 52293, 52294 (2.5).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1575746&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to