fix formatting
This commit is contained in:
parent
b8a4e11f10
commit
892cca38f7
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ except (ImportError, NameError):
|
||||||
|
|
||||||
def ticks_add(ticks: int, delta: int) -> int:
|
def ticks_add(ticks: int, delta: int) -> int:
|
||||||
"Add a delta to a base number of ticks, performing wraparound at 2**29ms."
|
"Add a delta to a base number of ticks, performing wraparound at 2**29ms."
|
||||||
if -_TICKS_HALFPERIOD < delta < _TICKS_HALFPERIOD:
|
if -_TICKS_HALFPERIOD < delta < _TICKS_HALFPERIOD:
|
||||||
return (ticks + delta) % _TICKS_PERIOD
|
return (ticks + delta) % _TICKS_PERIOD
|
||||||
raise OverflowError("ticks interval overflow")
|
raise OverflowError("ticks interval overflow")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue