(self, other: "TimecodeLike")
| 554 | return self.frame_num == self._get_other_as_frames(other) |
| 555 | |
| 556 | def __ne__(self, other: "TimecodeLike") -> bool: |
| 557 | if other is None: |
| 558 | return True |
| 559 | if _compare_as_fixed(other, self): |
| 560 | return self.frame_num != other.frame_num |
| 561 | # For integer comparison, use frame numbers to avoid floating point precision issues. |
| 562 | if isinstance(other, int): |
| 563 | return self.frame_num != other |
| 564 | if isinstance(self._time, (Timecode, _Seconds)): |
| 565 | return self.seconds != self._get_other_as_seconds(other) |
| 566 | return self.frame_num != self._get_other_as_frames(other) |
| 567 | |
| 568 | def __lt__(self, other: "TimecodeLike") -> bool: |
| 569 | if _compare_as_fixed(other, self): |
nothing calls this directly
no test coverage detected