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

Method __reduce__

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

Source from the content-addressed store, hash-verified

1342 # Pickle support.
1343
1344 def __reduce__(self):
1345 getinitargs = getattr(self, "__getinitargs__", None)
1346 if getinitargs:
1347 args = getinitargs()
1348 else:
1349 args = ()
1350 return (self.__class__, args, self.__getstate__())
1351
1352
1353class IsoCalendarDate(tuple):

Callers

nothing calls this directly

Calls 2

getattrFunction · 0.85
__getstate__Method · 0.45

Tested by

no test coverage detected