mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
Otherwise, we end up not displaying overloads in cases when there is no actual definition to resolve into. First of all, in case of builtin declarations in typeshed.
12 lines
135 B
Python
12 lines
135 B
Python
from typing import overload
|
|
|
|
|
|
@overload
|
|
def foo(param: str) -> str:
|
|
pass
|
|
|
|
|
|
@overload
|
|
def fo<the_ref>o(param: int) -> int:
|
|
pass
|