mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
Update PyParameterInfoHandler to use pair of PyCallExpression and PyMarkedCallee as ParameterType and PyCallExpression.multiResolveCallee(PyResolveContext) to support multiresolved callees.
19 lines
192 B
Python
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)
|