Files
Aleksei Kniazev d672b03510 IDEA-CR-49176: improved check for self usage when inlining a function (PY-36471)
GitOrigin-RevId: 3e99835432e2b5382c257bbe4375aacb94da16bc
2019-07-08 18:05:36 +03:00

12 lines
185 B
Python

class MyClass:
def method(self):
self.another()
self.another()
def another(self):
pass
inst = MyClass()
MyClass.met<caret>hod(inst)
MyClass().method()