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

Method loads

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

Source from the content-addressed store, hash-verified

63 size_overflow_error = (pickle.UnpicklingError, 'exceeds')
64
65 def loads(self, buf, **kwds):
66 f = io.BytesIO(buf)
67 u = self.unpickler(f, **kwds)
68 return u.load()
69
70
71class PyPicklingErrorTests(AbstractPicklingErrorTests, unittest.TestCase):

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected