Skip to content

Commit

Permalink
Minor style tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mal committed Jan 29, 2024
1 parent 200709d commit 26551fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions renpy/atl.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ def interpolate_spline(t, spline, typ):

if rv is None:
return None
else:
return type(spline[-1])(rv)

return type(spline[-1])(rv)


def get_catmull_rom_value(t, p_1, p0, p1, p2):
Expand Down
4 changes: 2 additions & 2 deletions renpy/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ class absolute(float):
__slots__ = ()

def __divmod__(self, value):
return self//value, self%value
return self // value, self % value

def __rdivmod__(self, value):
return value//self, value%self
return value // self, value % self

def __repr__(self):
return "absolute({})".format(float.__repr__(self))
Expand Down

0 comments on commit 26551fe

Please sign in to comment.