Files
openide/python/testData/inspections/PyCallingNonCallableInspection/getattrCallable.py

8 lines
116 B
Python

class value():
pass
class MyClass(object):
def bar(self):
foo = getattr(self, 'foo')
foo()