Skip to content

Commit c657749

Browse files
committed
Merge with main
2 parents c1e942b + 85b5499 commit c657749

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spec/API_specification/signatures/array_object.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def __and__(self: array, other: Union[int, bool, array], /) -> array:
198198
- Element-wise results must equal the results returned by the equivalent element-wise function :ref:`function-bitwise_and`.
199199
"""
200200

201-
def __array_namespace__(self: array, /, *, api_version: Optional[str] = None) -> object:
201+
def __array_namespace__(self: array, /, *, api_version: Optional[str] = None) -> Any:
202202
"""
203203
Returns an object that has all the array API functions on it.
204204
@@ -211,7 +211,7 @@ def __array_namespace__(self: array, /, *, api_version: Optional[str] = None) ->
211211
212212
Returns
213213
-------
214-
out: object
214+
out: Any
215215
an object representing the array API namespace. It should have every top-level function defined in the specification as an attribute. It may contain other public names as well, but it is recommended to only include those names that are part of the specification.
216216
"""
217217

spec/extensions/linear_algebra_functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ Returns the sum along the specified diagonals of a matrix (or a stack of matrice
573573
The returned array must have the same data type as `x`.
574574
575575
(function-linalg-vecdot)=
576-
### linalg.vecdot(x1, x2, /, *, axis=None)
576+
### linalg.vecdot(x1, x2, /, *, axis=-1)
577577
578578
Alias for {ref}`function-vecdot`.
579579

0 commit comments

Comments
 (0)