Skip to content

Commit 71ea559

Browse files
Removed extranous argument in __lrshift__ special method
1 parent b5d361f commit 71ea559

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
@@ -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):
@@ -979,7 +979,7 @@ cdef class usm_ndarray:
979979
def __rpow__(self, other, mod):
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)