From a315d5ee5ab56f434fdf196c3a9fe1dd7e72e5bd Mon Sep 17 00:00:00 2001 From: Bas van Beek Date: Tue, 12 Jan 2021 14:58:28 +0100 Subject: MAINT: Replace the old `_NestedSequence` union and remove `_RecursiveSequence` --- numpy/lib/arraypad.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/lib/arraypad.pyi') diff --git a/numpy/lib/arraypad.pyi b/numpy/lib/arraypad.pyi index 49ce8e683..d7c5f4844 100644 --- a/numpy/lib/arraypad.pyi +++ b/numpy/lib/arraypad.pyi @@ -15,7 +15,7 @@ from numpy.typing import ( ArrayLike, NDArray, _ArrayLikeInt, - _NestedSequence, + _FiniteNestedSequence, _SupportsArray, ) @@ -45,7 +45,7 @@ _ModeKind = L[ "empty", ] -_ArrayLike = _NestedSequence[_SupportsArray[dtype[_SCT]]] +_ArrayLike = _FiniteNestedSequence[_SupportsArray[dtype[_SCT]]] __all__: List[str] -- cgit v1.2.1