Skip to content

Commit

Permalink
Remove redundant parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
Endogen committed Sep 29, 2024
1 parent 0307430 commit e44f518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/contracting/stdlib/bridge/decimal.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ def __rtruediv__(self, other):

def __divmod__(self, other):
q, r = self._d.__divmod__(self._get_other(other))
return (fix_precision(q), fix_precision(r))
return fix_precision(q), fix_precision(r)

def __rdivmod__(self, other):
q, r = self._get_other(other).__divmod__(self._d)
return (fix_precision(q), fix_precision(r))
return fix_precision(q), fix_precision(r)

def __mod__(self, other):
return fix_precision(self._d.__mod__(self._get_other(other)))
Expand Down

0 comments on commit e44f518

Please sign in to comment.