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

Method custom_load_dump

Lib/test/pickletester.py:5057–5058  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

5055
5056 def _test_dispatch_table(self, dumps, dispatch_table):
5057 def custom_load_dump(obj):
5058 return pickle.loads(dumps(obj, 0))
5059
5060 def default_load_dump(obj):
5061 return pickle.loads(pickle.dumps(obj, 0))

Callers

nothing calls this directly

Calls 2

dumpsFunction · 0.50
loadsMethod · 0.45

Tested by

no test coverage detected