From fe361df62b101a27fd2ea203fb0b79b6a5f61401 Mon Sep 17 00:00:00 2001 From: Bas van Beek <43369155+BvB93@users.noreply.github.com> Date: Tue, 21 Dec 2021 23:41:09 +0100 Subject: =?UTF-8?q?STY:=20Use=20subscriptable=20`collections.abc`=20types?= =?UTF-8?q?=20over=20the=20generic=20aliases=20in=20=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- numpy/lib/utils.pyi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'numpy/lib/utils.pyi') diff --git a/numpy/lib/utils.pyi b/numpy/lib/utils.pyi index 5bde8e620..407ce1120 100644 --- a/numpy/lib/utils.pyi +++ b/numpy/lib/utils.pyi @@ -1,10 +1,8 @@ from ast import AST +from collections.abc import Callable, Mapping, Sequence from typing import ( Any, - Callable, - Mapping, overload, - Sequence, TypeVar, Protocol, ) -- cgit v1.2.1