mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
Fix callType calculating for class instance: resolve __call__ member and process all possible return types
13 lines
158 B
Python
13 lines
158 B
Python
class Foo(object):
|
|
bar = True
|
|
|
|
class FooMaker(object):
|
|
def foo(self):
|
|
return Foo()
|
|
|
|
__call__ = foo
|
|
|
|
fm = FooMaker()
|
|
f3 = fm()
|
|
|
|
f3.b<caret> |