From b5ac835f2e1d1188d2f0ab961cadbb74e1e488d0 Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Mon, 28 Mar 2022 20:32:26 -0600 Subject: Add some missing notes to array_api --- numpy/array_api/_sorting_functions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'numpy/array_api') diff --git a/numpy/array_api/_sorting_functions.py b/numpy/array_api/_sorting_functions.py index b2a11872f..afbb412f7 100644 --- a/numpy/array_api/_sorting_functions.py +++ b/numpy/array_api/_sorting_functions.py @@ -5,6 +5,7 @@ from ._array_object import Array import numpy as np +# Note: the descending keyword argument is new in this function def argsort( x: Array, /, *, axis: int = -1, descending: bool = False, stable: bool = True ) -> Array: @@ -31,7 +32,7 @@ def argsort( res = max_i - res return Array._new(res) - +# Note: the descending keyword argument is new in this function def sort( x: Array, /, *, axis: int = -1, descending: bool = False, stable: bool = True ) -> Array: -- cgit v1.2.1