Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
168
class
myint(int):
169
def
__init__(self, x):
Callers
13
_check_reduce
Method · 0.45
test_reduce
Method · 0.45
test_object_reduce
Method · 0.45
test_pickling
Method · 0.45
test_pickling
Method · 0.45
test_pickling
Method · 0.45
test_pickling
Method · 0.45
test_pickling
Method · 0.45
test_iterator_pickling_overflowing_index
Method · 0.45
run
Method · 0.45
__reduce__
Method · 0.45
test_reduce
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected