mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 08:00:18 +07:00
Update PyArgumentListInspection to not show implementation signature as possible callee if overloads exist.
17 lines
207 B
Python
17 lines
207 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 |