MCPcopy Index your code
hub / github.com/RustPython/RustPython / loads

Method loads

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

Source from the content-addressed store, hash-verified

203 return f.getvalue()
204
205 def loads(self, buf, **kwds):
206 class PersUnpickler(self.unpickler):
207 def persistent_load(subself, obj):
208 return self.persistent_load(obj)
209 f = io.BytesIO(buf)
210 u = PersUnpickler(f, **kwds)
211 return u.load()
212
213
214class PyPersPicklerTests(AbstractPersistentPicklerTests,

Callers

nothing calls this directly

Calls 2

PersUnpicklerClass · 0.70
loadMethod · 0.45

Tested by

no test coverage detected