MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / dump

Function dump

tools/python-3.11.9-amd64/Lib/multiprocessing/reduction.py:58–60  ·  view source on GitHub ↗

Replacement for pickle.dump() using ForkingPickler.

(obj, file, protocol=None)

Source from the content-addressed store, hash-verified

56register = ForkingPickler.register
57
58def dump(obj, file, protocol=None):
59 '''Replacement for pickle.dump() using ForkingPickler.'''
60 ForkingPickler(file, protocol).dump(obj)
61
62#
63# Platform specific definitions

Callers

nothing calls this directly

Calls 2

ForkingPicklerClass · 0.85
dumpMethod · 0.45

Tested by

no test coverage detected