Skip to content

Commit 4e1ba36

Browse files
Apply suggestions from code review
Co-authored-by: vlad-perevezentsev <[email protected]>
1 parent eebc331 commit 4e1ba36

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dpnp/dpnp_iface_arraycreation.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2234,12 +2234,12 @@ def from_dlpack(x, /, *, device=None, copy=None):
22342234
Raises
22352235
------
22362236
TypeError
2237-
if `x` does not implement ``__dlpack__`` method
2237+
If `x` does not implement ``__dlpack__`` method.
22382238
ValueError
2239-
if data of the input object resides on an unsupported device
2239+
If data of the input object resides on an unsupported device.
22402240
DLPackCreationError
2241-
when `x` is allocated on a partitioned SYCL device, or with
2242-
a non-default context
2241+
When `x` is allocated on a partitioned SYCL device, or with
2242+
a non-default context.
22432243
22442244
Notes
22452245
-----

0 commit comments

Comments
 (0)