mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-02 04:35:22 +07:00
19 lines
292 B
Python
19 lines
292 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<warning descr="Unexpected argument(s)Possible callees:C1.foo(self: C1, x)C2.foo(self: C2, x, y)">(1, 2, 3)</warning>
|