mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
10 lines
230 B
Python
10 lines
230 B
Python
from collections.abc import Callable
|
|
from typing import TypeVar, overload
|
|
|
|
_C = TypeVar("_C", bound=Callable)
|
|
|
|
@overload
|
|
def async_unsafe(message: str) -> Callable[[_C], _C]: ...
|
|
@overload
|
|
def async_unsafe(message: _C) -> _C: ...
|