summaryrefslogtreecommitdiff
path: root/numpy/_array_api/_set_functions.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/_array_api/_set_functions.py')
-rw-r--r--numpy/_array_api/_set_functions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/_array_api/_set_functions.py b/numpy/_array_api/_set_functions.py
index 025a27d80..719d54e5f 100644
--- a/numpy/_array_api/_set_functions.py
+++ b/numpy/_array_api/_set_functions.py
@@ -4,11 +4,11 @@ from ._array_object import ndarray
from typing import TYPE_CHECKING
if TYPE_CHECKING:
- from ._types import Tuple, Union, array
+ from ._types import Tuple, Union, Array
import numpy as np
-def unique(x: array, /, *, return_counts: bool = False, return_index: bool = False, return_inverse: bool = False) -> Union[array, Tuple[array, ...]]:
+def unique(x: Array, /, *, return_counts: bool = False, return_index: bool = False, return_inverse: bool = False) -> Union[Array, Tuple[Array, ...]]:
"""
Array API compatible wrapper for :py:func:`np.unique <numpy.unique>`.