3 ms·
Double leading underscore has a special meaning and causes the name to be mangled in order to avoid collisions with other classes e.g. `__foo` -> `_ClassName_fo
by enragedcacti 3y ago
Double leading underscore has a special meaning and causes the name to be mangled in order to avoid collisions with other classes e.g. `__foo` -> `_ClassName_foo`
https://peps.python.org/pep-0008/#descriptive-naming-styles https://peps.python.org/pep-0008/#descriptive-naming-styles