Skip to content

Commit

Permalink
docs: cross-link to the inspection page in __array_namespace_info__
Browse files Browse the repository at this point in the history
PR-URL: #836
Reviewed-by: Athan Reines <[email protected]>
  • Loading branch information
asmeurer authored Aug 15, 2024
1 parent 6bfea7a commit b2e232b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/2023.12/API_specification/inspection.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _inspection:

Inspection
==========

Expand Down
2 changes: 2 additions & 0 deletions spec/draft/API_specification/inspection.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _inspection:

Inspection
==========

Expand Down
2 changes: 2 additions & 0 deletions src/array_api_stubs/_2023_12/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ def __array_namespace_info__() -> Info:
"""
Returns a namespace with Array API namespace inspection utilities.
See :ref:`inspection` for a list of inspection APIs.
Returns
-------
out: Info
Expand Down
2 changes: 2 additions & 0 deletions src/array_api_stubs/_draft/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ def __array_namespace_info__() -> Info:
"""
Returns a namespace with Array API namespace inspection utilities.
See :ref:`inspection` for a list of inspection APIs.
Returns
-------
out: Info
Expand Down

0 comments on commit b2e232b

Please sign in to comment.