mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
8 lines
194 B
Python
8 lines
194 B
Python
import sys
|
|
from typing import Any, Callable, TypeVar
|
|
|
|
_T = TypeVar("_T")
|
|
|
|
if sys.version_info >= (3, 9):
|
|
async def to_thread(__func: Callable[..., _T], *args: Any, **kwargs: Any) -> _T: ...
|