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

Method __reduce__

Lib/test/pickletester.py:164–166  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

162 self.value = value
163
164 def __reduce__(self):
165 # Shouldn't support the recursion itself
166 return K, (self.value,)
167
168class myint(int):
169 def __init__(self, x):

Callers 13

_check_reduceMethod · 0.45
test_reduceMethod · 0.45
test_object_reduceMethod · 0.45
test_picklingMethod · 0.45
test_picklingMethod · 0.45
test_picklingMethod · 0.45
test_picklingMethod · 0.45
test_picklingMethod · 0.45
runMethod · 0.45
__reduce__Method · 0.45
test_reduceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected