Tidy up `typing` imports in broadcaster mod

ctx_cancel_semantics_and_overruns
Tyler Goodlet 2023-06-14 15:31:52 -04:00
parent 6495688730
commit 17ae449160
1 changed files with 10 additions and 2 deletions

View File

@ -25,8 +25,16 @@ from collections import deque
from contextlib import asynccontextmanager from contextlib import asynccontextmanager
from functools import partial from functools import partial
from operator import ne from operator import ne
from typing import Optional, Callable, Awaitable, Any, AsyncIterator, Protocol from typing import (
from typing import Generic, TypeVar Optional,
Callable,
Awaitable,
Any,
AsyncIterator,
Protocol,
Generic,
TypeVar,
)
import trio import trio
from trio._core._run import Task from trio._core._run import Task