fix formatting

This commit is contained in:
Dan Halbert 2024-08-09 17:02:14 -04:00 committed by GitHub
parent b8a4e11f10
commit 892cca38f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -122,7 +122,7 @@ except (ImportError, NameError):
def ticks_add(ticks: int, delta: int) -> int:
"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
raise OverflowError("ticks interval overflow")