Skip to content

Commit a2711e6

Browse files
committed
Add some missing notes to array_api
Original NumPy Commit: b5ac835f2e1d1188d2f0ab961cadbb74e1e488d0
1 parent d8e1a74 commit a2711e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

array_api_strict/_sorting_functions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import numpy as np
66

77

8+
# Note: the descending keyword argument is new in this function
89
def argsort(
910
x: Array, /, *, axis: int = -1, descending: bool = False, stable: bool = True
1011
) -> Array:
@@ -31,7 +32,7 @@ def argsort(
3132
res = max_i - res
3233
return Array._new(res)
3334

34-
35+
# Note: the descending keyword argument is new in this function
3536
def sort(
3637
x: Array, /, *, axis: int = -1, descending: bool = False, stable: bool = True
3738
) -> Array:

0 commit comments

Comments
 (0)