From 7b5f39b5eeac583f822741eaf95a8229f2b5f8d7 Mon Sep 17 00:00:00 2001 From: Bas van Beek <43369155+BvB93@users.noreply.github.com> Date: Tue, 21 Dec 2021 20:24:22 +0100 Subject: STY: Use subscriptable `builtins` types over the generic aliases in `typing` --- numpy/core/arrayprint.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/arrayprint.pyi') diff --git a/numpy/core/arrayprint.pyi b/numpy/core/arrayprint.pyi index 5c33a21d3..acbec84e4 100644 --- a/numpy/core/arrayprint.pyi +++ b/numpy/core/arrayprint.pyi @@ -1,5 +1,5 @@ from types import TracebackType -from typing import Any, Callable, Type, Literal, TypedDict, SupportsIndex +from typing import Any, Callable, Literal, TypedDict, SupportsIndex # Using a private class is by no means ideal, but it is simply a consequence # of a `contextlib.context` returning an instance of aforementioned class -- cgit v1.2.1