Skip to content

Commit e3bc17f

Browse files
More fixes in _array_api, missed in previous commit
1 parent 19f8059 commit e3bc17f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

dpctl/tensor/_array_api.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def dtypes(self, *, device=None, kind=None):
141141
dtypes(*, device=None, kind=None)
142142
143143
Returns a dictionary of all Array API data types of a specified
144-
``kind`` supported by ``device``
144+
``kind`` supported by ``device``.
145145
146146
This dictionary only includes data types supported by the
147147
`Python Array API <https://data-apis.org/array-api/latest/>`_
@@ -165,21 +165,21 @@ def dtypes(self, *, device=None, kind=None):
165165
- if ``kind`` is a string, returns a dictionary containing the
166166
data types belonging to the data type kind specified.
167167
168-
Supports:
168+
Supports:
169169
170-
- ``"bool"``
171-
- ``"signed integer"``
172-
- ``"unsigned integer"``
173-
- ``"integral"``
174-
- ``"real floating"``
175-
- ``"complex floating"``
176-
- ``"numeric"``
170+
* ``"bool"``
171+
* ``"signed integer"``
172+
* ``"unsigned integer"``
173+
* ``"integral"``
174+
* ``"real floating"``
175+
* ``"complex floating"``
176+
* ``"numeric"``
177177
178178
- if ``kind`` is a tuple, the tuple represents a union of
179179
``kind`` strings, and returns a dictionary containing data
180180
types corresponding to the-specified union.
181181
182-
Default: `None`.
182+
Default: ``None``.
183183
184184
Returns:
185185
dict:

0 commit comments

Comments
 (0)