Skip to content

Commit b2e232b

Browse files
authored
docs: cross-link to the inspection page in __array_namespace_info__
PR-URL: #836 Reviewed-by: Athan Reines <[email protected]>
1 parent 6bfea7a commit b2e232b

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

spec/2023.12/API_specification/inspection.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _inspection:
2+
13
Inspection
24
==========
35

spec/draft/API_specification/inspection.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _inspection:
2+
13
Inspection
24
==========
35

src/array_api_stubs/_2023_12/info.py

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ def __array_namespace_info__() -> Info:
2525
"""
2626
Returns a namespace with Array API namespace inspection utilities.
2727
28+
See :ref:`inspection` for a list of inspection APIs.
29+
2830
Returns
2931
-------
3032
out: Info

src/array_api_stubs/_draft/info.py

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ def __array_namespace_info__() -> Info:
2525
"""
2626
Returns a namespace with Array API namespace inspection utilities.
2727
28+
See :ref:`inspection` for a list of inspection APIs.
29+
2830
Returns
2931
-------
3032
out: Info

0 commit comments

Comments
 (0)