Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudpipe/cloudpickle
/ _weakset_reduce
Function
_weakset_reduce
cloudpickle/cloudpickle.py:1052–1053 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
1050
1051
1052
def
_weakset_reduce(obj):
1053
return
weakref.WeakSet, (list(obj),)
1054
1055
1056
def
_dynamic_class_reduce(obj):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected