Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ persistent_id
Method
persistent_id
Lib/test/test_pickle.py:340–342 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
338
339
def
test_pickler_instance_attribute(self):
340
def
persistent_id(obj):
341
called.append(obj)
342
return
obj
343
344
for
proto in range(pickle.HIGHEST_PROTOCOL + 1):
345
f = io.BytesIO()
Callers
3
check
Method · 0.45
persistent_id
Method · 0.45
_persistent_id
Method · 0.45
Calls
1
append
Method · 0.45
Tested by
no test coverage detected