Skip to content

Commit 294151a

Browse files
authored
Fix #891: Use built-in types rather than typing aliases for type annotations (#937)
* Auto-generated changes * Non-auto-generated changes * Add some missing instances
1 parent 0076596 commit 294151a

File tree

14 files changed

+610
-614
lines changed

14 files changed

+610
-614
lines changed

cuda_bindings/cuda/bindings/_lib/utils.pxi.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ cdef class _HelperKernelParams:
114114
raise TypeError("Unsupported type: " + str(type(ctype)))
115115
idx += 1
116116
else:
117-
raise TypeError("Argument 'kernelParams' is not a valid type: Tuple[Tuple[Any, ...], Tuple[Any, ...]] or PyObject implimenting Buffer Protocol or Int")
117+
raise TypeError("Argument 'kernelParams' is not a valid type: tuple[tuple[Any, ...], tuple[Any, ...]] or PyObject implimenting Buffer Protocol or Int")
118118

119119
def __dealloc__(self):
120120
if self._pyobj_acquired is True:

0 commit comments

Comments
 (0)