mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 15:50:52 +07:00
14 lines
210 B
Python
14 lines
210 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(self):
|
|
return None |