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

Method __getstate__

Lib/http/cookies.py:367–372  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

365 self._coded_value = coded_val
366
367 def __getstate__(self):
368 return {
369 'key': self._key,
370 'value': self._value,
371 'coded_value': self._coded_value,
372 }
373
374 def __setstate__(self, state):
375 key = state['key']

Callers 2

__reduce__Method · 0.45
__reduce__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected