Skip to content

Commit 5e98b8d

Browse files
Removed unnecessary except * qualifier in _types.pxi
1 parent 05cb7fc commit 5e98b8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/tensor/_types.pxi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ cdef int descr_to_typenum(object dtype):
134134
return typenum_from_format(obj)
135135

136136

137-
cdef int dtype_to_typenum(dtype) except *:
137+
cdef int dtype_to_typenum(dtype):
138138
if isinstance(dtype, str):
139139
return typenum_from_format(dtype)
140140
elif isinstance(dtype, bytes):

0 commit comments

Comments
 (0)