mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
14 lines
224 B
Python
14 lines
224 B
Python
from typing import overload
|
|
|
|
|
|
class A:
|
|
@overload
|
|
def foo(self, value: str) -> None:
|
|
pass
|
|
|
|
@overload
|
|
def foo(self, value: int) -> str:
|
|
pass
|
|
|
|
def foo<caret>(self, value):
|
|
return None |