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