Skip to content

Commit

Permalink
feat!: rename "max rank" to "max dimensions" in capabilities()
Browse files Browse the repository at this point in the history
PR-URL: #809
Ref: #763 (comment)
  • Loading branch information
asmeurer committed Jul 25, 2024
1 parent b933915 commit 6bfea7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/array_api_stubs/_draft/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def capabilities() -> Capabilities:
- `"boolean indexing"`: boolean indicating whether an array library supports boolean indexing. If a conforming implementation fully supports boolean indexing in compliance with this specification (see :ref:`indexing`), the corresponding dictionary value must be ``True``; otherwise, the value must be ``False``.
- `"data-dependent shapes"`: boolean indicating whether an array library supports data-dependent output shapes. If a conforming implementation fully supports all APIs included in this specification (excluding boolean indexing) which have data-dependent output shapes, as explicitly demarcated throughout the specification, the corresponding dictionary value must be ``True``; otherwise, the value must be ``False``.
- `"max rank"`: maximum number of supported dimensions. If a conforming implementation supports arrays having an arbitrary number of dimensions (potentially infinite), the corresponding dictionary value must be ``None``; otherwise, the value must be a finite integer.
- `"max dimensions"`: maximum number of supported dimensions. If a conforming implementation supports arrays having an arbitrary number of dimensions (potentially infinite), the corresponding dictionary value must be ``None``; otherwise, the value must be a finite integer.
Returns
-------
Expand Down

0 comments on commit 6bfea7a

Please sign in to comment.