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: __x should be _x in documentation of property()
Type: Stage:
Components: Documentation Versions: Python 2.5
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: bgailer, mark.dickinson
Priority: normal Keywords:

Created on 2008-02-13 18:41 by bgailer, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg62368 - (view) Author: bob gailer (bgailer) Date: 2008-02-13 18:41
Library Reference 2.1 under property():

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

__x should be _x
msg62369 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2008-02-13 22:15
Thanks for the report!

It looks like this was previously reported in issue #1575746, and has 
been fixed in the 2.5 maintenance branch and the trunk.  Python 2.5.2 
should be out any day now; the fix should then hit docs.python.org.
msg62372 - (view) Author: bob gailer (bgailer) Date: 2008-02-14 03:22
I tried to search for a prior report with no success. How should I have 
done tha
msg62373 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2008-02-14 03:59
I'm guessing that you used the 'search in open issues' box at the top 
right.  Of course, the problem is that this issue was already closed.

Instead, go to 'Search' on the left-hand side under 'Issues', enter 
'property' and '__x' into the 'All text' box, select 'don't care' as the 
status, and try the search again...

...and you'll see that you're not the only person to have rereported this!

In any case, better to have multiple reports that none at all.
msg62374 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2008-02-14 04:01
I should have added:

You can also check the in-development version of the documentation at

docs.python.org/dev

to see if it's already been fixed.
History
Date User Action Args
2022-04-11 14:56:30adminsetgithub: 46362
2008-02-14 04:01:04mark.dickinsonsetmessages: + msg62374
2008-02-14 03:59:37mark.dickinsonsetmessages: + msg62373
2008-02-14 03:22:09bgailersetmessages: + msg62372
2008-02-13 22:15:58mark.dickinsonsetstatus: open -> closed
resolution: duplicate
messages: + msg62369
nosy: + mark.dickinson
2008-02-13 18:41:31bgailercreate