mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
18 lines
184 B
Python
18 lines
184 B
Python
from typing import overload
|
|
|
|
|
|
@overload
|
|
def foo(param: str) -> str:
|
|
pass
|
|
|
|
|
|
@overload
|
|
def foo(param: int) -> int:
|
|
pass
|
|
|
|
|
|
def foo(param: bool) -> bool:
|
|
pass
|
|
|
|
|
|
<the_ref>foo(1) |