My code is the following:
class MyClass: def f1(self, x): return x def f2(self, x): return x+1 f = MyClass() y1 = f.f1(1) with