0
why to use weakly private methods when we can access them easily.
Python single underscore methods.
1 Réponse
+ 2
It is to discourage the use of them, not totally block access to them. Private variables and methods are intended for the use of that class only. Accessing them may cause instances of the class to work differently than intended.