MCPcopy Index your code
hub / github.com/python/cpython / _to_microseconds

Method _to_microseconds

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

Source from the content-addressed store, hash-verified

860 __rmul__ = __mul__
861
862 def _to_microseconds(self):
863 return ((self._days * (24*3600) + self._seconds) * 1000000 +
864 self._microseconds)
865
866 def __floordiv__(self, other):
867 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