[issue31262] Documentation Error

New submission from Dipti Sherlekar: 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. ---------- assignee: docs@python components: Documentation messages: 300727 nosy: Dipti Sherlekar, docs@python priority: normal severity: normal status: open title: Documentation Error versions: Python 3.7 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue31262> _______________________________________

R. David Murray added the comment: 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. ---------- nosy: +r.david.murray resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue31262> _______________________________________

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> _______________________________________

Dipti Sherlekar added the comment: 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> _______________________________________
---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue31262> _______________________________________
participants (3)
-
Dipti Sherlekar
-
Martin Panter
-
R. David Murray