Files
openide/python/testData/completion/instanceFromDefinedCallAttr.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

11 lines
143 B
Python

class Foo(object):
bar = True
class FooMaker(object):
def __call__(self):
return Foo()
fm = FooMaker()
f3 = fm()
f3.b<caret>