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

Method __reduce__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

strFunction · 0.85
__getstate__Method · 0.45

Tested by

no test coverage detected