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: Documentation Error
Type: Stage: resolved
Components: Documentation Versions: Python 3.7
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Dipti Sherlekar, docs@python, martin.panter, r.david.murray
Priority: normal Keywords:

Created on 2017-08-22 22:52 by Dipti Sherlekar, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (4)
msg300727 - (view) Author: Dipti Sherlekar (Dipti Sherlekar) Date: 2017-08-22 22:52
Documentation says : In C++ terminology, normally class members (including the data members) are public  

Solution: In C++ the class memebers are private not public by default.
msg300731 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2017-08-22 23:25
No, that sentence is telling you what the *Python*'s behavior is, using C++ terminology.  Unlike C++, where class members are private by default, the Python equivalent of class members are public by default.

If you can figure out a clearer way to phrase that you may reopen the issue with your suggestion.
msg300732 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2017-08-22 23:28
Assuming this is about the Classes section in the tutorial, you seem to be going down the same track as <https://github.com/python/cpython/pull/2696>
msg300733 - (view) Author: Dipti Sherlekar (Dipti Sherlekar) Date: 2017-08-22 23:31
Thanks all.

Dipti
On Tue, Aug 22, 2017 at 4:28 PM Martin Panter <report@bugs.python.org>
wrote:

>
> Martin Panter added the comment:
>
> Assuming this is about the Classes section in the tutorial, you seem to be
> going down the same track as <https://github.com/python/cpython/pull/2696>
>
> ----------
> nosy: +martin.panter
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue31262>
> _______________________________________
>
History
Date User Action Args
2022-04-11 14:58:51adminsetgithub: 75445
2017-08-22 23:31:39Dipti Sherlekarsetmessages: + msg300733
2017-08-22 23:28:35martin.pantersetnosy: + martin.panter
messages: + msg300732
2017-08-22 23:25:22r.david.murraysetstatus: open -> closed

nosy: + r.david.murray
messages: + msg300731

resolution: not a bug
stage: resolved
2017-08-22 22:52:37Dipti Sherlekarcreate