Skip to content

Removed extraneous argument in __lrshift__ special method #839

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dpctl/tensor/_usmarray.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ cdef class usm_ndarray:
def __rfloordiv__(self, other):
return _dispatch_binary_elementwise2(other, "floor_divide", self)

def __rlshift__(self, other, mod):
def __rlshift__(self, other):
return _dispatch_binary_elementwise2(other, "left_shift", self)

def __rmatmul__(self, other):
Expand All @@ -976,10 +976,10 @@ cdef class usm_ndarray:
def __ror__(self, other):
return _dispatch_binary_elementwise(self, "logical_or", other)

def __rpow__(self, other, mod):
def __rpow__(self, other):
return _dispatch_binary_elementwise2(other, "power", self)

def __rrshift__(self, other, mod):
def __rrshift__(self, other):
return _dispatch_binary_elementwise2(other, "right_shift", self)

def __rsub__(self, other):
Expand Down