Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
_feed
Method · 0.45
put
Method · 0.45
_make_probe_message
Method · 0.45
_send
Method · 0.45
send
Method · 0.45
_xml_dumps
Function · 0.45
Calls
3
getbuffer
Method · 0.95
cls
Class · 0.50
dump
Method · 0.45
Tested by
no test coverage detected