diff options
| author | Aaron Meurer <asmeurer@gmail.com> | 2022-03-28 20:32:26 -0600 |
|---|---|---|
| committer | Aaron Meurer <asmeurer@gmail.com> | 2022-03-28 20:32:26 -0600 |
| commit | b5ac835f2e1d1188d2f0ab961cadbb74e1e488d0 (patch) | |
| tree | 382c2059eacef623057b25b6e23c2a8e2d853f81 | |
| parent | f375d71ca101db9541b1e70476999b574634556d (diff) | |
| download | numpy-b5ac835f2e1d1188d2f0ab961cadbb74e1e488d0.tar.gz | |
Add some missing notes to array_api
| -rw-r--r-- | numpy/array_api/_sorting_functions.py | 3 |
1 files changed, 2 insertions, 1 deletions
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: |
