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

Method __reduce__

Lib/email/headerregistry.py:213–221  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

211 return tuple(self._defects)
212
213 def __reduce__(self):
214 return (
215 _reconstruct_header,
216 (
217 self.__class__.__name__,
218 self.__class__.__bases__,
219 str(self),
220 ),
221 self.__getstate__())
222
223 @classmethod
224 def _reconstruct(cls, value):

Callers

nothing calls this directly

Calls 2

strFunction · 0.85
__getstate__Method · 0.45

Tested by

no test coverage detected