Utilities/ClassBrowsers/pyclbr.py

changeset 3591
2f2a4a76dd22
parent 3539
0c2dc1446ebf
child 3966
969a3d41c402
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
117 """ 117 """
118 Mixin class implementing the notion of visibility. 118 Mixin class implementing the notion of visibility.
119 """ 119 """
120 def __init__(self): 120 def __init__(self):
121 """ 121 """
122 Method to initialize the visibility. 122 Constructor
123 """ 123 """
124 if self.name.startswith('__'): 124 if self.name.startswith('__'):
125 self.setPrivate() 125 self.setPrivate()
126 elif self.name.startswith('_'): 126 elif self.name.startswith('_'):
127 self.setProtected() 127 self.setProtected()

eric ide

mercurial