| Tor Norbye | a3e39ab | 2014-04-10 10:54:17 -0700 | [diff] [blame^] | 1 | |
| 2 | class MyClass(object): | ||||
| 3 | def __init__(self): | ||||
| 4 | self._resetData() | ||||
| 5 | self._val = [] | ||||
| 6 | |||||
| 7 | def _resetData(self): | ||||
| 8 | self._val = [] # This should not be receiving a warning. The function gets called in __init__. | ||||