From 517f8d74c9708db72041800612d390aee364ff75 Mon Sep 17 00:00:00 2001 From: Spencer Brown Date: Thu, 14 Sep 2023 12:05:58 +1000 Subject: [PATCH] This is no longer used, None isn't special anymore --- src/event.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)