Skip to content

Commit ab4327e

Browse files
committed
[#63] Moved import statement to the start of the module.
1 parent 83497eb commit ab4327e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/timecode/timecode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# Standard Library Imports
44
from __future__ import annotations
55

6+
import math
67
import sys
78
from contextlib import suppress
89
from typing import TYPE_CHECKING, overload
@@ -888,7 +889,6 @@ def float(self) -> float:
888889
Returns:
889890
float: The seconds as float.
890891
"""
891-
import math
892892
time_value = float(self.frames) / float(self._int_framerate)
893893
return math.nextafter(time_value, math.inf)
894894

0 commit comments

Comments
 (0)