mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-21 14:37:45 +07:00
Add tests for PyChangeSignatureHandler. Disable change signature on overloads.
13 lines
165 B
Python
13 lines
165 B
Python
from typing import overload
|
|
|
|
|
|
@overload
|
|
def foo(value: str) -> None:
|
|
pass
|
|
|
|
@overload
|
|
def foo(value: int) -> str:
|
|
pass
|
|
|
|
def foo<caret>(value):
|
|
return None |