MCPcopy Create free account
hub / github.com/Breakthrough/PySceneDetect / __sub__

Method __sub__

scenedetect/common.py:725–728  ·  view source on GitHub ↗
(self, other: "TimecodeLike")

Source from the content-addressed store, hash-verified

723 return self
724
725 def __sub__(self, other: "TimecodeLike") -> "FrameTimecode":
726 to_return = FrameTimecode(timecode=self)
727 to_return -= other
728 return to_return
729
730 # TODO(v1.0): __int__ and __float__ should be removed. Mark as deprecated, and indicate
731 # need to use relevant property instead.

Callers

nothing calls this directly

Calls 1

FrameTimecodeClass · 0.85

Tested by

no test coverage detected