Add asyncio.runners.__all__ (#7273)

Nice and simple, this one.
This commit is contained in:
Alex Waygood
2022-02-19 02:37:09 +00:00
committed by GitHub
parent d690238d8b
commit 6672e57e75

View File

@@ -1,6 +1,7 @@
import sys
from typing import Awaitable, TypeVar
__all__ = ("run",)
_T = TypeVar("_T")
if sys.version_info >= (3, 8):
def run(main: Awaitable[_T], *, debug: bool | None = ...) -> _T: ...