Add __all__ for asyncio.unix_events & asyncio.taskgroups, and simplify asyncio.__init__ (#7343)

This commit is contained in:
Alex Waygood
2022-02-28 11:51:32 +00:00
committed by GitHub
parent b8421eb5d4
commit bf167d4df4
3 changed files with 49 additions and 117 deletions

View File

@@ -6,6 +6,8 @@ from typing import Any, Coroutine, Generator, TypeVar
from .tasks import Task
__all__ = ["TaskGroup"]
_T = TypeVar("_T")
class TaskGroup: