MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __reduce__

Method __reduce__

tools/python-3.11.9-amd64/Lib/inspect.py:3204–3207  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3202 return self._bind(args, kwargs, partial=True)
3203
3204 def __reduce__(self):
3205 return (type(self),
3206 (tuple(self._parameters.values()),),
3207 {'_return_annotation': self._return_annotation})
3208
3209 def __setstate__(self, state):
3210 self._return_annotation = state['_return_annotation']

Callers

nothing calls this directly

Calls 3

tupleClass · 0.85
typeClass · 0.50
valuesMethod · 0.45

Tested by

no test coverage detected