MCPcopy Index your code
hub / github.com/RustPython/RustPython / _to_microseconds

Method _to_microseconds

Lib/_pydatetime.py:853–855  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

851 __rmul__ = __mul__
852
853 def _to_microseconds(self):
854 return ((self._days * (24*3600) + self._seconds) * 1000000 +
855 self._microseconds)
856
857 def __floordiv__(self, other):
858 if not isinstance(other, (int, timedelta)):

Callers 5

__mul__Method · 0.95
__floordiv__Method · 0.95
__truediv__Method · 0.95
__mod__Method · 0.95
__divmod__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected