python protected code example
Example: python protected method
class example:
def __init__(self):
self._method1() #protected
self.__method3() #private
self.method3() #public
class example:
def __init__(self):
self._method1() #protected
self.__method3() #private
self.method3() #public