What is the purpose of double underscore __ in Python variable name?
Explanation
Variables whose name begins with double underscore are treated by interpreter as class private. Internally they will be renamed to _ClassName__VariableName to prevent unwanted access to them by other engineers

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по Python
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты