Files
openide/python/testData/completion/instanceFromInheritedCallAttr.after.py
Semyon Proshev 77356abd34 PY-12425 Fixed: Completion breaks when implementing a callable object with the __call__ method
Fix callType calculating for class instance: resolve __call__ member and process all possible return types
2016-02-15 16:06:48 +03:00

14 lines
180 B
Python

class Foo(object):
bar = True
class FooMakerAnc(object):
def __call__(self):
return Foo()
class FooMaker(FooMakerAnc):
pass
fm = FooMaker()
f3 = fm()
f3.bar