+ 3
What is 'name mangling' ?
"The purpose of name mangling is to avoid unintentional access of private class members."
1 Answer
0
In Python, mangling is used for class attributes that one does not want subclasses to use which are designated as such by giving them a name with two leading underscores and no more than one trailing underscore.