MCPcopy 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_idMethod · 0.95

Calls 4

superClass · 0.85
assertIsNoneMethod · 0.80
appendMethod · 0.45
persistent_idMethod · 0.45

Tested by

no test coverage detected