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/core/multiarray.pyi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'numpy/core/multiarray.pyi') diff --git a/numpy/core/multiarray.pyi b/numpy/core/multiarray.pyi index b8816bd26..e06220dc3 100644 --- a/numpy/core/multiarray.pyi +++ b/numpy/core/multiarray.pyi @@ -2,15 +2,13 @@ import os import datetime as dt +from collections.abc import Sequence, Callable, Iterable from typing import ( Literal as L, Any, - Callable, - Iterable, overload, TypeVar, Union, - Sequence, SupportsIndex, final, Final, -- cgit v1.2.1