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

Method __reduce__

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

Source from the content-addressed store, hash-verified

949 return (self._days, self._seconds, self._microseconds)
950
951 def __reduce__(self):
952 return (self.__class__, self._getstate())
953
954timedelta.min = timedelta(-999999999)
955timedelta.max = timedelta(days=999999999, hours=23, minutes=59, seconds=59,

Callers

nothing calls this directly

Calls 1

_getstateMethod · 0.95

Tested by

no test coverage detected