Files
openide/python/testData/paramInfo/CallOperator.py
Semyon Proshev 49b4dec281 PY-24930 Fixed: False negative: no parameter info when implicitly calling __call__
Update PyCallExpressionHelper to support a case when callee resolves to call expression and this call expression returns class with `__call__`.
2017-07-03 17:50:38 +03:00

7 lines
109 B
Python

class Foo:
def __call__(self, arg: int):
return arg
bar = Foo()
bar.__call__(<arg1>)
bar(<arg2>)