3590:5280e37405b8 | 3591:2f2a4a76dd22 |
---|---|
27 """ | 27 """ |
28 Mixin class implementing the notion of visibility. | 28 Mixin class implementing the notion of visibility. |
29 """ | 29 """ |
30 def __init__(self): | 30 def __init__(self): |
31 """ | 31 """ |
32 Method to initialize the visibility. | 32 Constructor |
33 """ | 33 """ |
34 if self.name.startswith('__'): | 34 if self.name.startswith('__'): |
35 self.setPrivate() | 35 self.setPrivate() |
36 elif self.name.startswith('_'): | 36 elif self.name.startswith('_'): |
37 self.setProtected() | 37 self.setProtected() |