Files
openide/python/testData/paramInfo/MultiResolved.py
Semyon Proshev c7e1b58176 PY-22004 Fixed: Show all possible parameter hints when function could be resolved to different locations
Update PyParameterInfoHandler to use pair of PyCallExpression and PyMarkedCallee as ParameterType and PyCallExpression.multiResolveCallee(PyResolveContext) to support multiresolved callees.
2017-01-30 19:58:35 +03:00

19 lines
192 B
Python

class C1:
def foo(self, x):
return self
class C2:
def foo(self, x, y: str):
return self
def f():
"""
:rtype: C1 | C2
"""
pass
f().foo(1, <arg2>2)