Re:A bite of Python
by zardeh on Thursday September 08, 2016 @01:23PM
(#12455033)
I'd say that private methods are double underscored, and protected methods are single underscored, since the goal of the __ is to prevent child classes from being able to use the parent implementation via self.__meth.
[ Parent
| on HN ]