Skip to content

Commit 77a921a

Browse files
authored
Remove the Sequence encapsulation of variadic parameters (#276)
* Remove the `Sequence` encapsulation of variadic parameters * Explicitly state that variadic parameters can take an arbitrary number of objects
1 parent 70fcdd7 commit 77a921a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

spec/API_specification/creation_functions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,9 @@ Returns coordinate matrices from coordinate vectors.
304304
305305
#### Parameters
306306
307-
- **arrays**: _Sequence\[ <array> ]_
307+
- **arrays**: _<array>_
308308
309-
- one-dimensional arrays representing grid coordinates. Must have a numeric data type.
309+
- an arbitrary number of one-dimensional arrays representing grid coordinates. Must have numeric data types.
310310
311311
- **indexing**: _str_
312312

spec/API_specification/data_type_functions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Broadcasts one or more arrays against one another.
1414

1515
#### Parameters
1616

17-
- **arrays**: _Sequence\[ <array> ]_
17+
- **arrays**: _<array>_
1818

19-
- arrays to broadcast.
19+
- an arbitrary number of to-be broadcasted arrays.
2020

2121
#### Returns
2222

@@ -134,9 +134,9 @@ If provided mixed dtypes (e.g., integer and floating-point), the returned dtype
134134

135135
#### Parameters
136136

137-
- **arrays_and_dtypes**: _Sequence\[ Union\[ <array>, <dtype> \] \]_
137+
- **arrays_and_dtypes**: _Union\[ <array>, <dtype> \]_
138138

139-
- input arrays and dtypes.
139+
- an arbitrary number of input arrays and/or dtypes.
140140

141141
#### Returns
142142

0 commit comments

Comments
 (0)