Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudpipe/cloudpickle
/ _method_reduce
Function
_method_reduce
cloudpickle/cloudpickle.py:1036–1037 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
1034
1035
1036
def
_method_reduce(obj):
1037
return
(types.MethodType, (obj.__func__, obj.__self__))
1038
1039
1040
def
_logger_reduce(obj):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected