Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/array_api_stubs/_draft/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,13 @@ def default_device() -> device:
Returns
-------
out: device
an object corresponding to the default device.
an object (including ``None``) corresponding to the default device.

Notes
-----

- A conforming array library may return ``None`` if the default device is not predictable due to library specific device placement rules.

.. versionadded: 2023.12
"""

Expand Down