mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 21:01:48 +07:00
Unexpected arguments and unfilled parameters are not registered when there is at least one appropriate function. In case of only one failed arguments mapping quickfixes are suggested, otherwise possible callees are shown. In case of only one failed parameters mapping parameters' names are mentioned, otherwise possible callees are shown.
18 lines
177 B
Python
18 lines
177 B
Python
class C1:
|
|
def foo(self, x):
|
|
return self
|
|
|
|
|
|
class C2:
|
|
def foo(self, x, y):
|
|
return self
|
|
|
|
|
|
def f():
|
|
"""
|
|
:rtype: C1 | C2
|
|
"""
|
|
pass
|
|
|
|
|
|
f().foo(1) |