File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -488,9 +488,8 @@ cdef DPCTLSyclEventRef _memcpy_impl(
488488 src_is_buf = True
489489 else :
490490 raise TypeError (
491- " Parameter `src` should have either type "
492- " `dpctl.memory._Memory` or a type that "
493- " supports Python buffer protocol"
491+ " Parameter `src` should have either type `dpctl.memory._Memory` "
492+ " or a type that supports Python buffer protocol"
494493 )
495494
496495 if isinstance (dst, _Memory):
@@ -508,9 +507,8 @@ cdef DPCTLSyclEventRef _memcpy_impl(
508507 dst_is_buf = True
509508 else :
510509 raise TypeError (
511- " Parameter `dst` should have either type "
512- " `dpctl.memory._Memory` or a type that "
513- " supports Python buffer protocol"
510+ " Parameter `dst` should have either type `dpctl.memory._Memory` "
511+ " or a type that supports Python buffer protocol"
514512 )
515513
516514 if dep_events_count == 0 or dep_events is NULL :
@@ -1592,7 +1590,8 @@ cdef class SyclQueue(_SyclQueue):
15921590 else :
15931591 raise TypeError (
15941592 " dependent_events must either None, or a sequence of "
1595- " :class:`dpctl.SyclEvent` objects" )
1593+ " `dpctl.SyclEvent` objects"
1594+ )
15961595 if nDE > 0 :
15971596 depEvents = (
15981597 < DPCTLSyclEventRef* > malloc(nDE* sizeof(DPCTLSyclEventRef))
You can’t perform that action at this time.
0 commit comments