MCPcopy Index your code
hub / github.com/python/cpython / loads

Method loads

Lib/test/test_pickle.py:133–139  ·  view source on GitHub ↗
(self, buf, **kwds)

Source from the content-addressed store, hash-verified

131 return f.getvalue()
132
133 def loads(self, buf, **kwds):
134 class PersUnpickler(self.unpickler):
135 def persistent_load(subself, obj):
136 return self.persistent_load(obj)
137 f = io.BytesIO(buf)
138 u = PersUnpickler(f, **kwds)
139 return u.load()
140
141
142class PyPersPicklerTests(AbstractPersistentPicklerTests,

Callers

nothing calls this directly

Calls 2

PersUnpicklerClass · 0.70
loadMethod · 0.45

Tested by

no test coverage detected