class Foo():
def __init__(self):
self.bar_ref = self.bar # Allocation occurs here
self.x = 0.1
def bar(self, _):
self.x *= 1.2
The dotted attribute access
self.bar
is an invocation of descriptor__get__
, creating a bound method.
How do I get Pycharm to show __get__
being executed when debugging?