diff --git a/src/event.py b/src/event.py index e3e009e80..d6f2e69de 100644 --- a/src/event.py +++ b/src/event.py @@ -11,7 +11,7 @@ whenever they are modified. """ from __future__ import annotations -from typing import Generator, TypeVar, Any, Type, Generic, Callable, Awaitable +from typing import Generator, TypeVar, Any, Generic, Callable, Awaitable from typing_extensions import ParamSpec from contextlib import contextmanager @@ -28,7 +28,6 @@ ArgT = ParamSpec('ArgT') ValueT = TypeVar('ValueT') ValueT_co = TypeVar('ValueT_co', covariant=True) -NoneType: Type[None] = type(None) @attrs.define(init=False, eq=False)