Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python/cpython
/ persistent_id
Method
persistent_id
Lib/test/test_pickle.py:171–172 ·
view source on GitHub ↗
(subself, obj)
Source
from the content-addressed store, hash-verified
169
170
class
PersPickler(self.pickler):
171
def
persistent_id(subself, obj):
172
return
obj
173
check(PersPickler)
174
175
class
PersPickler(self.pickler):
Callers
1
persistent_id
Method · 0.95
Calls
4
super
Class · 0.85
assertIsNone
Method · 0.80
append
Method · 0.45
persistent_id
Method · 0.45
Tested by
no test coverage detected