From 3dad7f76b1786ceb5fc8a4ea811fe447ca36211d Mon Sep 17 00:00:00 2001 From: Lucas Colley Date: Fri, 15 Nov 2024 14:44:59 +0000 Subject: [PATCH] TYP: remove `TYPE_CHECKING` guard from `_typing` --- src/array_api_extra/_typing.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/array_api_extra/_typing.py b/src/array_api_extra/_typing.py index 8fa049b..9ffa13f 100644 --- a/src/array_api_extra/_typing.py +++ b/src/array_api_extra/_typing.py @@ -1,9 +1,8 @@ from __future__ import annotations from types import ModuleType -from typing import TYPE_CHECKING, Any +from typing import Any -if TYPE_CHECKING: - Array = Any # To be changed to a Protocol later (see array-api#589) +Array = Any # To be changed to a Protocol later (see array-api#589) __all__ = ["Array", "ModuleType"]