Skip to content

Commit bc2ee12

Browse files
oleksandr-pavlykndgrigorian
authored andcommitted
Fixed typo and grammar in docstrings caught in review
1 parent e0e8f20 commit bc2ee12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpctl/tensor/_usmarray.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ include "_slicing.pxi"
4848

4949
cdef class InternalUSMArrayError(Exception):
5050
"""
51-
A InternalUSMArrayError exception is raised when internal
51+
An InternalUSMArrayError exception is raised when internal
5252
inconsistency has been detected in :class:`.usm_ndarray`.
5353
"""
5454
pass
@@ -170,7 +170,7 @@ cdef class usm_ndarray:
170170
"""
171171
strides and offset must be given in units of array elements.
172172
buffer can be strings ('device'|'shared'|'host' to allocate new memory)
173-
or ``dpctl.memory.MemoryUSM*`` buffers, or ``usm_ndrray`` instances.
173+
or ``dpctl.memory.MemoryUSM*`` buffers, or ``usm_ndarray`` instances.
174174
"""
175175
cdef int nd = 0
176176
cdef int typenum = 0

0 commit comments

Comments
 (0)