mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-07 05:54:02 +08:00
16ae4c6120
See discussion in #2491 Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
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: ...
|