Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudpipe/cloudpickle
/ _memoryview_reduce
Function
_memoryview_reduce
cloudpickle/cloudpickle.py:1019–1020 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
1017
1018
1019
def
_memoryview_reduce(obj):
1020
return
bytes, (obj.tobytes(),)
1021
1022
1023
def
_module_reduce(obj):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected