diff options
Diffstat (limited to 'numpy/_array_api/_set_functions.py')
-rw-r--r-- | numpy/_array_api/_set_functions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/_array_api/_set_functions.py b/numpy/_array_api/_set_functions.py index 0a75d727e..4dfc215a7 100644 --- a/numpy/_array_api/_set_functions.py +++ b/numpy/_array_api/_set_functions.py @@ -4,10 +4,10 @@ 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, sorted: bool = True) -> 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>`. See its docstring for more information. """ - return np.unique._implementation(x, return_counts=return_counts, return_index=return_index, return_inverse=return_inverse, sorted=sorted) + return np.unique._implementation(x, return_counts=return_counts, return_index=return_index, return_inverse=return_inverse) |