Hacker News new | ask | show | jobs
by enragedcacti 813 days 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