Snippets tagged “name-mangling”
1 snippet uses this tag.
- What is the meaning of single and double underscore before an object name?Python
In Python, a single underscore "_" before an object name indicates that the object is meant to be private, meaning that it should not be directly accessed or modified outside of the class that it is defined in.