We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
import
1 parent 83497eb commit ab4327eCopy full SHA for ab4327e
1 file changed
src/timecode/timecode.py
@@ -3,6 +3,7 @@
3
# Standard Library Imports
4
from __future__ import annotations
5
6
+import math
7
import sys
8
from contextlib import suppress
9
from typing import TYPE_CHECKING, overload
@@ -888,7 +889,6 @@ def float(self) -> float:
888
889
Returns:
890
float: The seconds as float.
891
"""
- import math
892
time_value = float(self.frames) / float(self._int_framerate)
893
return math.nextafter(time_value, math.inf)
894
0 commit comments