MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __reduce__

Method __reduce__

tools/python-3.11.9-amd64/Lib/datetime.py:1209–1210  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1207 self._year = yhi * 256 + ylo
1208
1209 def __reduce__(self):
1210 return (self.__class__, self._getstate())
1211
1212_date_class = date # so functions w/ args named "date" can get at the class
1213

Callers

nothing calls this directly

Calls 1

_getstateMethod · 0.95

Tested by

no test coverage detected