blob: 2fbadaa345a0fda5d2b75314f1a782bbe829ad64 [file]
class MyClass(object):
def __init__(self, value):
self.x = value
@property
def x(self):
return self._x
@x.setter
def x(self, value):
_x = 42 # unrelated assignment
def function(self):
<weak_warning descr="Instance attribute _x defined outside __init__">self._x</weak_warning> = 42