[issue8638] Remove suggestion for name mangling from the tutorial

Terry J. Reedy report at bugs.python.org
Sat May 8 00:35:35 CEST 2010


Terry J. Reedy <tjreedy at udel.edu> added the comment:

Double underscore name mangling is for avoiding name clashes with base classes, not for 'private attributes'. This is such an advanced and rarely used feature that it hardly seems appropriate for the tutorial.

----------
nosy: +tjreedy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8638>
_______________________________________


More information about the Python-bugs-list mailing list