mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
Update PyCallExpressionHelper to support a case when callee resolves to call expression and this call expression returns class with `__call__`.
7 lines
109 B
Python
7 lines
109 B
Python
class Foo:
|
|
def __call__(self, arg: int):
|
|
return arg
|
|
|
|
bar = Foo()
|
|
bar.__call__(<arg1>)
|
|
bar(<arg2>) |