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

Method load_frame

Lib/pickle.py:306–310  ·  view source on GitHub ↗
(self, frame_size)

Source from the content-addressed store, hash-verified

304 return self.file_readline()
305
306 def load_frame(self, frame_size):
307 if self.current_frame and self.current_frame.read() != b'':
308 raise UnpicklingError(
309 "beginning of a new frame before end of current frame")
310 self.current_frame = io.BytesIO(self.file_read(frame_size))
311
312
313# Tools used for pickling.

Callers 1

load_frameMethod · 0.45

Calls 2

UnpicklingErrorClass · 0.85
readMethod · 0.45

Tested by

no test coverage detected