From 8816c76631af79c46a8cf33ac1a8a79b2717c9ac Mon Sep 17 00:00:00 2001 From: Francesc Elies Date: Tue, 21 Feb 2023 14:50:04 +0100 Subject: TYP,MAINT: Add a missing explicit Any parameter --- numpy/array_api/_array_object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/array_api/_array_object.py') diff --git a/numpy/array_api/_array_object.py b/numpy/array_api/_array_object.py index c4746fad9..eee117be6 100644 --- a/numpy/array_api/_array_object.py +++ b/numpy/array_api/_array_object.py @@ -56,7 +56,7 @@ class Array: functions, such as asarray(). """ - _array: np.ndarray + _array: np.ndarray[Any, Any] # Use a custom constructor instead of __init__, as manually initializing # this class is not supported API. -- cgit v1.2.1