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

Function _dump

Lib/pickle.py:1867–1869  ·  view source on GitHub ↗
(obj, file, protocol=None, *, fix_imports=True, buffer_callback=None)

Source from the content-addressed store, hash-verified

1865# Shorthands
1866
1867def _dump(obj, file, protocol=None, *, fix_imports=True, buffer_callback=None):
1868 _Pickler(file, protocol, fix_imports=fix_imports,
1869 buffer_callback=buffer_callback).dump(obj)
1870
1871def _dumps(obj, protocol=None, *, fix_imports=True, buffer_callback=None):
1872 f = io.BytesIO()

Callers

nothing calls this directly

Calls 2

_PicklerClass · 0.85
dumpMethod · 0.45

Tested by

no test coverage detected