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

Method __getstate__

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

Source from the content-addressed store, hash-verified

358 self._coded_value = coded_val
359
360 def __getstate__(self):
361 return {
362 'key': self._key,
363 'value': self._value,
364 'coded_value': self._coded_value,
365 }
366
367 def __setstate__(self, state):
368 self._key = state['key']

Callers 2

__reduce__Method · 0.45
__reduce__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected