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

Method dumps

Lib/multiprocessing/reduction.py:49–52  ·  view source on GitHub ↗
(cls, obj, protocol=None)

Source from the content-addressed store, hash-verified

47
48 @classmethod
49 def dumps(cls, obj, protocol=None):
50 buf = io.BytesIO()
51 cls(buf, protocol).dump(obj)
52 return buf.getbuffer()
53
54 loads = pickle.loads
55

Callers 6

_feedMethod · 0.45
putMethod · 0.45
_make_probe_messageMethod · 0.45
_sendMethod · 0.45
sendMethod · 0.45
_xml_dumpsFunction · 0.45

Calls 3

getbufferMethod · 0.95
clsClass · 0.50
dumpMethod · 0.45

Tested by

no test coverage detected