mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
Fix callType calculating for class instance: resolve __call__ member and process all possible return types
11 lines
143 B
Python
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> |