Skip to content

Commit 36a422f

Browse files
committed
update docstrings
1 parent bf67bb8 commit 36a422f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/array_api_extra/_delegation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ def _delegate(xp: ModuleType, *backends: Backend) -> bool:
3131

3232

3333
def isclose(
34-
a: Array,
35-
b: Array,
34+
a: Array | complex,
35+
b: Array | complex,
3636
*,
3737
rtol: float = 1e-05,
3838
atol: float = 1e-08,

src/array_api_extra/_lib/_funcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ def setdiff1d(
642642
643643
Parameters
644644
----------
645-
x1 : array
645+
x1 : array | int | float | complex | bool
646646
Input array.
647647
x2 : array
648648
Input comparison array.

0 commit comments

Comments
 (0)