mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 11:44:39 +07:00
Update PyArgumentListInspection to not show implementation signature as possible callee if overloads exist.
20 lines
327 B
Python
20 lines
327 B
Python
from typing import overload
|
|
|
|
|
|
@overload
|
|
def foo(value: None) -> None:
|
|
pass
|
|
|
|
@overload
|
|
def foo(value: int) -> str:
|
|
pass
|
|
|
|
@overload
|
|
def foo(value: str) -> str:
|
|
pass
|
|
|
|
def foo(value):
|
|
return None
|
|
|
|
|
|
foo(<warning descr="Parameter(s) unfilledPossible callees:foo(value: None)foo(value: int)foo(value: str)">)</warning> |