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

Function _dump

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

Source from the content-addressed store, hash-verified

1896# Shorthands
1897
1898def _dump(obj, file, protocol=None, *, fix_imports=True, buffer_callback=None):
1899 _Pickler(file, protocol, fix_imports=fix_imports,
1900 buffer_callback=buffer_callback).dump(obj)
1901
1902def _dumps(obj, protocol=None, *, fix_imports=True, buffer_callback=None):
1903 f = io.BytesIO()

Callers

nothing calls this directly

Calls 2

_PicklerClass · 0.85
dumpMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…