Skip to content

Commit f94ef5e

Browse files
Merge pull request #839 from IntelPython/fix-build-break-with-cython-0.29.29
Removed extraneous argument in __lrshift__ special method
1 parent b5d361f commit f94ef5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dpctl/tensor/_usmarray.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ cdef class usm_ndarray:
961961
def __rfloordiv__(self, other):
962962
return _dispatch_binary_elementwise2(other, "floor_divide", self)
963963

964-
def __rlshift__(self, other, mod):
964+
def __rlshift__(self, other):
965965
return _dispatch_binary_elementwise2(other, "left_shift", self)
966966

967967
def __rmatmul__(self, other):
@@ -976,10 +976,10 @@ cdef class usm_ndarray:
976976
def __ror__(self, other):
977977
return _dispatch_binary_elementwise(self, "logical_or", other)
978978

979-
def __rpow__(self, other, mod):
979+
def __rpow__(self, other):
980980
return _dispatch_binary_elementwise2(other, "power", self)
981981

982-
def __rrshift__(self, other, mod):
982+
def __rrshift__(self, other):
983983
return _dispatch_binary_elementwise2(other, "right_shift", self)
984984

985985
def __rsub__(self, other):

0 commit comments

Comments
 (0)